Is the subgrid supposed to resize automatically when the main grid resizes or does it need extra code?
Can you point me to an example where this is done?
Hi,
I tried that and it still did not work.
On debugging using Firebug, I can see that the div cgrid2_*, which contains the subgrid, does not resize. I added a function in javascript that will resize this div on a page resize. That did not work.
This function looks like:
var divLists = document.getElementsByTagName('div');
var index = 0;
var divID;
for(var i=0; i<divLists.length;i++)
{
divID = divLists[i].id;
if (divID.search(/\bcgrid2/i)==0)
{
//set the height and width here based on parent element.
}
}
Do I need to set something else?
Thanks,
Harini sub.zip (882 Bytes)