Hello,
i wanna know, how the editing function of the grid works. I can’t find any example in the documentation.
My syntax is:
[code]dhx.ui({
id:“herstellerWin”,
view:“window”,
width:470,
height:400,
head:{ view:"toolbar", type:"SubBar", data:[
{ type:"button", label:"Neu", click:"", align:"left" },
{ type:"button", label:"Umbenennen", click:"", align:"left" },
{ type:"button", label:"Löschen", click:"deleteHersteller()", align:"left" },
{ type:"button", label:"Abbrechen", click:"$$('herstellerWin').close()", align:"right" }
]},
modal:true,
body: {
view:"grid",
id:"herstellerGrid",
select: "true",
edit:"true",
sorting:"true",
fields:[
{
id:"name",
width:460,
label:"Hersteller",
sort:{
as:"string"
}
},
],
datatype:"json", url:"send.php?c=ghl"
}
});
[/code]
Thanks in advance
Horst Muerdter
CrossData-Tools