Last Updated: 30 Apr 2021 12:42 by ADMIN
Renier Pretorius
Created on: 30 Apr 2021 12:25
Category: TreeList
Type: Feature Request
Different editor templates for different levels

Is it possible to specify different editor templates for different levels in hierarchical data?

What I am trying to do is to build a hierarchical structure for grouping items. The list of items is specified so, in the grouping hierarchy, I want to select an item as the child element of the lowest grouping level rather than typing the name of the item and resolving if it exists. I thus want for the lowest level, to have a combobox rather than an editbox. The data items presented in the treelist have a property to bind to.



If your models already have flags denoting their level, or otherwise denoting the special need for that particular model, you can use them in the editor template already.