Collapsed on open

QuestionsCollapsed on open
Stephen Hartigan asked 11 years ago

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

1 Answers
Abu Ghufran answered 11 years ago

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.

Your Answer

4 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?