my gird init from html
how to attach filters
my code like this:
dhxGrid.attachHeader(“#connector_text_filter,#connector_text_filter”);
if not work.
so how to resolve it?
my code like this:
eat | pay |
1 | 1 |
my gird init from html
how to attach filters
my code like this:
dhxGrid.attachHeader(“#connector_text_filter,#connector_text_filter”);
if not work.
so how to resolve it?
my code like this:
eat | pay |
1 | 1 |
a) you are using connector_text_filter - which will try to reload data from server side, but as far as I can see you are not using server side data feeds, so you need to use client side filters, such as #text_filter
b) remove class=“dhtmlxGrid” from the table and add the next lines to onload handler of the page
var grid = dhtmlXGridFromTable("grid1")
grid.attachHeader("#text_filter,,#text_filter");