Author Topic: Set initial expand / collapse group element  (Read 1730 times)

groupXS

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 9
    • View Profile
Set initial expand / collapse group element
« on: March 06, 2020, 09:01:33 pm »
Hi,

I would love to preserve current collapse / expand state in the database. So I need to set it initially that for example 2nd, 4th and 5th group are collapsed and all other expanded in first level and then again for each sub level to set which one is collapsed and which one is expanded. Is that possible? I found to set collapse / expand state for all.

I found event beforeGroupExpand but could not find enough data in ui object

one of ui example:
level: 1
close: true
group: "12000"

but in level: 1 there can be multiple values "12000" (possible for each group in level: 0) so i am not sure which one is collapsed

Best Regards