How to make the datatable filter working when column name is not present in dataset ?

Hi ,

I have below datatable :

It has only one column named as 'members'. However the data set it is showing is just an array without any column id. Therefore the column filter is not working.

How can I make the filter working ?
My constraint is I can not change the data set.


  • It is possible to set a custom filtering rule in compare property of a filter:

    {content:"textFilter", compare:customCompare}

    As a filtering function, this method iterates through data and gets the following parameters as arguments:

    • a value that supposed to be a column value (item.members in your case),
    • a value of the filter,
    • the entire data item,

    So you can easily access any data attribute and provide your own logic. Please, check:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion