I'm try to populate combo via json and using it in a grid
look at code...
...
columns:[[
{field:'cb', title:'',checkbox:true, width: 50},
{field:'id', title:'id', width: 50},
{field:'codice', title:'codice', width: 50},
{field:'riga', title:'riga', sortable:true, width: 50},
{field:'iva_codice', title:'IVA', sortable:true, width: 150,
editor:{
type:'combobox',
options:{
valueField:'codice',
textField:'descrizione_1',
url:'c_op/aliquote_iva',
required: true
}
}
},
{field:'imponibile_valore_valuta', title:'imponibile', sortable:true, width: 120, align: 'right',
editor: {type:'numberbox', options:{ precision:2}}},
{field:'conto_codice', title:'mastrino', width: 90, editor:'text'},
{field:'descrizione_1', title:'descrizione', width: 250, editor:'text'}
]],
...
what's worng?