Hi,
I’m having a DropDownlist in the grid and i would like to change one of the cell value when i select the dropdownlist.
{ text: '@ml.getc("MIN")', datafield: 'GS_MIN', width: "20%", columntype: 'numberinput', cellsformat: 'd2', cellvaluechanging: cellValueChanging, validation: validationGrid },
{
text: '@ml.getc("Condition")', datafield: 'GS_COND', width: "20%", columntype: 'dropdownlist',
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ source: CONDAdapter, displayMember: 'value', valueMember: 'value', autoDropDownHeight: true });
}, cellvaluechanging: cellValueChanging, validation: validationGrid
},
{ text: '@ml.getc("MAX")', datafield: 'GS_MAX', width: "20%", columntype: 'numberinput', cellsformat: 'd2', cellvaluechanging: cellValueChanging, validation: validationGrid }
If (GS_COND == “>=”)
{
$(“#jqxGrid”).jqxGrid(‘setcellvaluebyid’, rowID, “GS_MAX”, “GS_MIN”);
}
Thanks for the help