Hello,
is it posible to use filtering in main grid with sub grids? If yes can you show me how? I try this:
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.setImagePath("…/…/codebase/imgs/");
mygrid.setHeader(“A,B,ed,Price,In Store,Shipping,Bestseller,Date of Publication”);
mygrid.attachHeader(" ,#combo_filter,#text_filter, ,#cspan,#cspan,#cspan,#cspan");
mygrid.setInitWidths(“50,150,100,80,80,80,80,200”)
mygrid.setColAlign(“right,left,left,right,center,left,center,center”)
mygrid.setColTypes(“sub_row,edtxt,ed,price,ch,co,ra,ro”);
mygrid.init();
mygrid.setSkin(“modern”);
mygrid.loadXML(“sgrid.xml”);
but only grey line with text “#combo_filter,#text_filter” is added to the header.
is it posible to use filtering in main grid with sub grids
There is no possibility to use filtering in main grid with sub grid’s.
You can try to use dhtmlxTreeGrid extension. It has more advanced parent-child functionality. Please find example here dhtmlx.com/docs/products/dht … ering.html
>>but only grey line with text “#combo_filter,#text_filter” is added to the header.
You should attach dhtmlxgrid_filter.js file to your page.