"sortingEnabled"
Sets whether sorting is enabled
Synopsis
shape.sortingEnabled(bool check);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
check |
TRUE = Sorting is enabled FALSE = Sorting is disabled |
Description
sortingEnabled sets if sorting of items in a tree is enabled or not.
In order to avoid performance issues, it's recommended that sorting is only enabled after inserting the items into the tree.
Assignment
Tree widget