Hi again,
I have 3 grids on a single page. Can you tell me how to set the initial collapsed state for each grid.
Also is it possible that opening one grid can collapse another?
Many Thanks,
Stephen
For 1st question,
If set to true the grid initially is hidden. The data is not loaded (no request is sent) and only the caption layer is shown. When the show/hide button is clicked the first time to show grid, the request is sent to the server, the data is loaded, and grid is shown. From this point we have a regular grid. This option has effect only if the caption property is not empty and the hidegrid property (see below) is set to true.
$opt["hiddengrid"] = false;
…
$g->set_options($opt);
For 2nd, it's currently not doable, unless we do some manual JS working on grid elements.