Can you provide an example of how to configure a grouplist with three levels, I checked the whole website and you only provide example for two level.
I need to show the following structure:
-Group
-SubGroup
-Item
Can you provide an example of how to configure a grouplist with three levels, I checked the whole website and you only provide example for two level.
I need to show the following structure:
-Group
-SubGroup
-Item
The same solution can be used for any count of levels.
Check samples at bottom of the next page
docs.dhtmlx.com/touch/doku.php?i … rted_types
Yes I checked that page to create my xml in three levels but I do not how to display the names of each group in the group list
I only found an example that allows me to show the second and third level but the first level is in null value:
view: “grouplist”, // in the popup we create grouplist object
id: “mylist”,
select: true, // activate the possibility to choose a data item
url: “data.xml”, // the path to data file
datatype: “xml”, // the type of data
type: {// specifies data which grouplist will present
templateItem: "#value_item#)", //an html template that defines data that will be presented in the list
templateGroup: "#value_subgroup#", //an html template that defines data that will be presented in the group header in the collapsed state
templateBack: "#value_subgroup#"//an html template that defines data that will be presented in the group header in the expanded state.
}
It works fine but in the first level (corresponding to group) shows null. I do not know how to assign the corresponding node of the xml (#value_group#)
OK I got it, the node should have the same name…
sorry, but is really difficult to make things work with so few documentation.