Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kunal on Dec 12, 2008 22:05
open dhtmlx forum
filters in grid

Hello ,

I am initializing dhtmlx grid object from html table in my code
using api..
mygrid=new dhtmlXGridFromTable('tblToGrid');

In addition to its feature like sorting, I also apply paging in my grid.

myGrid.enablePaging(true,noOfRecords,noOfPages,"recinfoArea");
myGrid.setPagingSkin("bricks");

In addition to this feature ,Now I want to add filtering in such grid..
So I used myGrid.attachHeader("#text_search");
myGrid.enableSmartRendering(true);

but it's giving me javascript error as this._filter.length is null or not an object

So Please tell me how do I apply filter in such grid (grid loaded from html)?..

Answer posted by Support on Dec 15, 2008 03:14
Technically, the code which you are using is correct and must not cause such problem.
Please try to update dhtmlxgrid_filter.js with attached one ( latest version with all fixes up to date ) 


If issue still occurs for you - please provide any kind of sample where problem can be reconstructed. ( you can send such sample of demo link directly to support@dhtmlx.com ) 

Attachments (1)