Subgrid Expand ALL

QuestionsSubgrid Expand ALL
achillix asked 5 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 5 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 5 years ago

Hi Abu,
it works like a charm!!!

Thank you very much !!!

and best wishes

Your Answer

5 + 2 =

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 / 5. Vote count:

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

Let us improve this post!