Title: predefine a value in a datagrid field on edit Post by: jaimi on October 12, 2016, 01:27:35 AM How can I set a defined value to a numberbox and a combobox when the row switches to edit-mode?
I tried this but doesn't work: Code: ,{field :'CUR_CDE',title:'Währung',width:090,sortable:'true',align:'left' Code: ,{field:'HTH_GESAMT',title:'Gesamt',width:070,sortable:'true',align:'left' Title: Re: predefine a value in a datagrid field on edit Post by: jarry on October 13, 2016, 01:16:00 AM You have to change this value when beginning to edit a row.
Code: onBeginEdit: function(index,row){ Title: Re: predefine a value in a datagrid field on edit Post by: jaimi on October 13, 2016, 10:28:55 PM It works in general. But I can not longer put the decimal point where in the field-options set.
How to define the options for this element? |