Najd LABBEN Najd LABBEN - 1 year ago 153
Javascript Question

dhtmlxGrid groupBy when column is hidden

I'm using dhtmlxgrid plugin and i want to do the grouping with a hidden column for that i use those line of code:

grid.setColumnHidden(0,true); //OR grid.setColumnsVisibility(true,false,false,false);

but in this two case the group didn't work for me , it's work only when i don't use setcolumhidden or setcolumnsvisibility

and for me i don't want to show that column in header and in rows , i want it to be shown only in group row

any suggestion ?


Kind Regards

Answer Source

Please, try to use the second attribute of the groupBy() method, so that the "#title" of the group row will be in a non-hidden column. For example:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download