RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-11-03T18:51:48Z
The Tree Button of a Group Row disappears when I delete the children of that Group Row.

  iGrid Test.zip (21kb) downloaded 25 time(s).


Edit: My workaround is to loop through the grid and reset the RowTreeButton property of the Group Rows.
Igor/10Tec
2017-11-04T08:44:14Z
This behavior was implemented intentionally. It helps to minimize the code used to work with trees and group rows. It's natural if the tree button is removed if a row does not have children rows.

BTW, if you add a row with the AddRow method and specify a parent row with the vRowParent parameter, the tree button is displayed automatically in the specified parent row. This is another part of the iGrid functionality that helps to minimize the amount of code to work with trees and group rows.

If you think iGrid should not do this automatically or at least we need an option to turn this on/off, tell us more details about the functionality of your grid.
RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-11-06T18:10:13Z
I understand. All good.

Thank you.