Hi,
I’m searching a way to decrease JSON data structure of my tree. All items have the same icon, even if it’s a parent open or closed.
Here is my structure:
{id:"0",item:[
{id:"1",text:"obj1",im0:"../../bmp/223.png",im1:"../../bmp/223.png",im2:"../../bmp/223.png"},
{id:"2",text:"obj2",im0:"../../bmp/223.png",im1:"../../bmp/223.png",im2:"../../bmp/223.png"}
]}
Is it possible de give a default icon for all my items ? which permit to remove im0,im1,im2 :
{id:"0",item:[
{id:"1",text:"obj1"},
{id:"2",text:"obj2"}
]}
Thanks