Can I condense a search pane to a single row?

Can I condense a search pane to a single row?

teddy85teddy85 Posts: 1Questions: 1Answers: 0
edited April 14 in Free community support

I'm migrating a legacy app which used some really complex custom JavaScript for paging, sorting, and filtering into DataTables.

One of the key features of this table is to filter records by status:

I'd like to if possible render a search pane like this. It doesn't need to be visually like these toggle buttons, can be simple radios or any other but I like how compact this is.

I'm not immediately seeing in the SearchPanes documentation how to customize the rendering of this.

Also, the "Invitation Status" field isn't always included in the table. If I can filter based on some custom HTML data-* attributes that would be ideal but I can work around this otherwise.

<tr data-inv-status="INV">
<td>etc</td>
<td>etc</td>
</tr>

Thank you :)

Answers

  • allanallan Posts: 65,685Questions: 1Answers: 10,924 Site admin

    Hi,

    At the moment, I'm afraid there isn't such an option. The closest is the collapse option, show in this example.

    I do plan of rewriting SearchPanes soon, which should add a lot more flexibility, including options to show panes via an external control such as these buttons.

    Allan

Sign In or Register to comment.