Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yatin on Jan 22, 2009 05:07
open dhtmlx forum
Dhtmlx Grid - column hide wrap text issu

Hi,

I have a grid displayed with two header rows using attachHeader()
I am using mygrid.enableHeaderMenu(); functionality.

mygrid.setHeader("E,A,E,A");
mygrid.attachHeader("col-01,#cspan,col-02,#cspan");
mygrid.setInitWidths("25,25,25,25");    

all works fine. but, when i hide a column, it either wrap text and column width is descries.
or it not displaying full text label of second attachHeader

Thanks
Answer posted by Support on Jan 22, 2009 05:21
Grid has known limitation - when you hide|remove column it must not break existing colspans.
So, with your design it possible to hide both 1st and 2nd or 3rd and 4th column , but grid can't hide only 1st column and hide 2nd, because it will break colspan on second row of header.