mercredi 27 juin 2018

Using indetermined selection checkbox in sap.m.Tree selection

I am using the sap.m.Tree to display the data in Tree format. I want to make selection like this.

  • If the parent node has many items as child in tree. Check box of the parent node should be checked if all the child items selection is checked.
  • If the parent node has many items as child in tree. Check box of the parent node should be unchecked if all the child items selection is unchecked.
  • If the parent node has many items as child in tree. Checkbox of the parent node should be in undetermined state(like checkbox filled with square solid color) if tree has child items in which some of them are checked and some are unchecked. Is there any way to achieve this using sap.m.Tree and in multiselect mode?



Aucun commentaire:

Enregistrer un commentaire