Categories | Question details Back To List | ||||||||
Subgrid data disappears on resize Hi, I have a sub grid within a main grid. These are shown as a pop-up using dhtmlxwindows. My question is about the sub grid. Looking at a different post i modified the sub_grid _row.js to set the style as auto, so now the sub grid shows a horizontal scroll bar but when i resize the column the rows disappear and the only the header is shown. i changed it like this td._sub_grid.objBox.style.overflowY="hidden"; d.style.overflow = "auto";
Please help me resolve this problem Gayathri
Answer posted by Support on Oct 27, 2009 05:57 What was the reason to change sub grid's styles? By default sub grid renders without horizontal and vertical scrollbars. Answer posted by gayathri on Oct 27, 2009 06:03 Hi, since i am showing the subgrid inside dhtmlwindows, the subgrid doesnt entirely fit withn the window's container, so i needed scrollbars to show the sub grid content entirely. Please find attached a screenshot before and after resizing. Attachments (1)
Answer posted by dhxSupport on Oct 27, 2009 07:26 Sub grid cannot be shown outside the main grid, there no way to add horizontal scroll bar to the sub grid. The only way to show all sub grid column is to increase width of the main grid. |