Hi,
I am developing application where I have
Hi I am building an application and where I have a requirement to provide option to edit the tree data and also provide the way to delete the data from the tree,
Basically I want to give to buttons/or Icon, and on click of those Icons I want to perform the functionality.
I have implemented a big layout,where my tree is coming under a body and now I wanted to know how can I perform the update/delete operaion, below is the code which I have implemented.
This is very critical and would request you to please help me to resolve this requirement.
view:"accordion", type:"wide",
rows:[ { collapsed:false,
header:"Product Information :",
body:{
multi:true,
view:"accordion", type:"space",
rows:[{ body:
{
view:"treetable",select:true,css:"my_style",
editor:"text",
editValue:"value",
id:"dTree",
columns:[
//{ id:"id", header:"", css:{"text-align":"right"}, width:50},
{ id:"value",icon:"home", header:"Product Category", width:300,
template:"{common.folder() common.folder()} #value#",
footer:{text:"Total Excluding tax:", colspan:4,css:{ "background":"#FFFFFF","align":"right"}}},
{ id:"XXXX", editor:"text", header:"XXXX", width:100,
},
{ id:"XXXXXX",editor:"text", header:"XXXXX", width:200},
{ id:"XXXXX",editor:"text", header:"XXXXX", width:100},
{ id:"XXXXX",editor:"text", header:"XXXXPrice", width:100,minWidth:100, fillspace:true,footer:{ content:"summColumn" }},
],editable:true,
data: offers,
footer:true,
},height:400
}