Subgrid Expand ALL

QuestionsSubgrid Expand ALL
achillix asked 7 years ago

if it is possible put a (toggle)button on the toolbar to expand / collapse all subgrid entries?

Thanks in advance

best wishes

2 Answers
Abu Ghufran answered 7 years ago


Sample code here:

var rowIds = jQuery("#list1").getDataIDs();

if ( ! jQuery(document).data('expandall') )
jQuery.each(rowIds, function (index, rowId) { jQuery("#list1").expandSubGridRow(rowId); });
jQuery.each(rowIds, function (index, rowId) { jQuery("#list1").collapseSubGridRow(rowId); });

achillix answered 7 years ago

Hi Abu,
it works like a charm!!!

Thank you very much !!!

and best wishes

Your Answer

18 + 16 =

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?