Wie man Tabelle mit treeviewcheckbox
Ich habe treeview - https://jsfiddle.net/allengosta/9pg13kth/11/ und ich möchte, um treetable (erste Spalte - treeview, zweite Spalte - Farbe), wie:
Wie Sie dies tun?
//json example
var treeObject = [
{
text:"Parent 1",
checked:true,
id:15,
color: 'blue',
children:[ // Required
{ text:"Child 1", checked:true, color: 'white'},
{ text:"Child 2", color: 'green' }
]
},
{
text:"Parent 2",
color: 'yellow',
children:[
{
text:"Parent 3",
color: 'purple',
children:[
{text:"Child 3",checked:true, color: 'green'},
{text:"Child 4", color: 'orange'}
]
}
]
}
]
+2

0 Antworten
Ähnliche Fragen
Sehen Sie sich andere Fragen zu Tags an javascript html