Multi-select filter and Child Row
Multi-select filter and Child Row
BalaKrishnanDhanuskodi
Posts: 45Questions: 17Answers: 0
Happy Evening one and all,
I am to trying use both Multi-select filter and Child row display and was successful in terms of display, but the select is displaying [object][object] - Please refer the enclosed exhibit and help to fix.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Do you really want to show a
select
filter for that column? I'd imagine probably not, in which case you need to modify the code to skip over that column.Allan
No, I want to skip that row alone from 'select' filter. Can I request for a syntax to hide the select filter for that column?
Without being able to see the rest of your code, its virtually impossible to say for sure, but you probably want to use a suitable jQuery selector. Something like
:not(:first-child)
.Allan
That is selecting every column. Use:
Allan
Thanks for your wonderful support, how to specify in
column #
instead of':not(:first-child)'
All of the selectors you can use are defined in the jQuery documentation. You can also use column indexes as documented here in
column-selector
.Allan
Works perfectly;
this.api().columns(':contains(Salary)').every( function () {