<table class="easyui-propertygrid" id="propGridJS" style="width: 300px"> </table>
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});
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)