Checked items are not rendered correctly when loaded on demand
I would like to be able to programmatically check children that are loaded on demand and currently this is not possible.
Posted on:30 Aug 2021 15:38
Hi NovaStor team,
I am glad that you managed to find a workaround suitable for your scenario by the time the bug is fixed.
I also consider the approach you've chosen (adding a CheckBox in an ItemTemplate) very useful especially for the read-only functionality that you want to achieve for the whole TreeView (as you mentioned in your last post here). You can use the Class parameter of the CheckBox to define your custom CSS class and then use it as a selector to apply some custom CSS for blocking the pointer events of the CheckBoxes. Thus, the users will not be able to check/uncheck them. For example: