Expand/Collapse Groups

Answered
kumar asked on April 27, 2017

Hi,
In the grouping functionality, there are some usability concerns.  
For Example, when you click on the group to collapse, there is no way to expand again. And if you are displaying subtotals, at least you see the subtotal of that group else that group is completely gone or disappear.
Can we have some option like Expand/collapse for individual groups like the same we do for rows? Or any other better option?
Thanks,
Sunilkumar.V

13 answers

Public
Roman Petrusha Roman Petrusha Flexmonster April 27, 2017

Hi Sunil,
Could you please add some screenshots for better understanding?

Thanks,
 Roman

Public
kumar April 27, 2017

Hi,
please find the screenshots. Steps to follow:

  1. Expand all after create the Group1.
  2. Click on Group1 drill up.
  3. You can notice that Group will disappear.

I have attached Groups with subtotals also.
Thanks,
Sunilkumar.V

Public
Tanya Gryshko Tanya Gryshko Flexmonster April 28, 2017

Hello Sunilkumar.V,
Thank you for providing the screenshots. We were able to reproduce the issue on our side. The fix will be ready in the version 2.316 ETA May 22. Please let us know if it works for you.
Regards,
Tanya

Public
kumar May 2, 2017

yes. Thanks for an update.
 
Thanks

Public
kumar May 22, 2017

This issue is fixed in current version 2.316?
 
Thanks,
Sunilkumar.V

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster May 22, 2017

Hello Kumar,
The issue is fixed.
You are welcome to update the component.
Kind regards,
Dmytro.

Public
kumar June 5, 2017

Hello,
The issue is still exists. When the grid is in expand all state, try click on the group, it's removing from the grid.
it's an important bug that we promised to our customers. Can this be available in 2.317?
 
Thanks,
Sunilkumar.V

Public
kumar June 5, 2017

Hi,
here is the logic using for expandall/collapse all data..the groups are removing only when grid is in expandall state.
var expandAllItem = $('<li class="fm-ui"></li>');
expandAllItem.append('<span class="fm-ui" id="#fm-text-display">Expand All</span>');
var collapseAllItem = $('<li class="fm-ui"></li>');
collapseAllItem.append('<span class="fm-ui" id="#fm-text-display">Collapse All</span>');
expandAllItem.click(function(e) {
e.stopImmediatePropagation();
scope.ctrl.olapGrid.expandAllData();
});
collapseAllItem.click(function(e) {
e.stopImmediatePropagation();
scope.ctrl.olapGrid.collapseAllData();
});
$('#fm-context-menu ul').append(expandAllItem);
$('#fm-context-menu ul').append(collapseAllItem);

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster June 5, 2017

Hello Kumar,
The version 2.317 will be released on the 6-th of June, which is tomorrow, therefore it is not possible to prepare the fix in such small amount of time. We have reproduced the issue and the necessary update will be ready in the version 2.318 ETA Jun19.
Best regards,
Dmytro.

Public
kumar June 5, 2017

Hi Dmytro,
Thanks for a quick response. it's good to know that new release will be available before 20th. We can wait until 19th.
Thanks,
Sunilkumar.V

Public
kumar September 11, 2017

Hello,
please find the screenshots. Steps to follow:

  1. Expand all after create the Group1.
  2. Click on Group1 drill up.
  3. You can notice that Group will disappear.

I have attached Groups with subtotals also.

Attachments:
1.Expand all.png
2.Click on Group1 drillup.png
3.Disappear Group1.png
4.Group1 with subtotals.png

I have checked this issue in 2.4 version of component. still the issue exists in 2.4 version(When click). can you please check and confirm?
Thanks & Regards,
Sunilkumar.V

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 13, 2017

Hello Sunilkumar.V,
Thank you for reporting the issue. We were able to reproduce it on our side. The fix will be delivered as part of minor release 2.405, ETA Oct 9. Please let me know in case of further questions.
Regards,
Tanya

Public
Tanya Gryshko Tanya Gryshko Flexmonster October 18, 2017

Hello, Sunilkumar.V,
I am glad to inform you that the minor release 2.405 is available for download.
The issue with grouping feature when expandAll: true was fixed.
You are welcome to update the component.
Regards,
Tanya

Please login or Register to Submit Answer