Click here to Skip to main content
15,845,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I need to bind jquery easy ui property grid Factor combobox on change of another property grid visible combobox.

XML
<table class="easyui-propertygrid" id="propGridJS" style="width: 300px">
    </table>


js code is
Quote:
var data =
[
{ "name": "Visible",
"value": "",
"group": "Score",
"editor": { "type": "combobox", "options": {
"valueField": "id",
"textField": "text",
"required": "true",
"data": [
{ "id": 1, "text": "True" },
{ "id": 2, "text": "False" }
],
"onChange": function (value) {
// need to write code here

}
}
}
},
{ "name": "Min value",
"value": "30",
"group": "Score",
"editor": "numberbox"

},
{ "name": "Factor",
"value": "",
"group": "Fac/SubFac",
"editor": {
"type": "combobox",
"options": {
"valueField": "id",
"textField": "text"
}
}

}
]
$('#propGridJS').propertygrid('loadData', data);
$('#propGridJS').propertygrid({ title: 'Question', showGroup: true, scrollbarSize: 0});



need help on this not finding any thing on google
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900