Como fazer tabela com treeviewcheckbox
Eu tenho treeview - https://jsfiddle.net/allengosta/9pg13kth/11/ e eu quero fazer treetable (primeira coluna - treeview, segundo a coluna de cor), como:
Como fazer isso?
//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 respostas
Perguntas semelhantes
Veja mais perguntas por marcas javascript html