Hi all
I am attempting to develop a grid that contains a column of type combo box. I want the combo-box to appear on each row with the options specified.
The problem is that the combo box column (ManageMentCost) does not display the box or the values. Does anybody know what I am doing wrong?
This is my code so far:
colModel: [
{ name: 'PropertyID', index: 'PropertyID', width: 70, align: "left", stype: 'text', sortable: true},
{ name: 'PropertyRef', index: 'PropertyRef', width: 75, align: "left", stype: 'text', sortable: true},
{ name: 'ShortAddress', index: 'ShortAddress', width: 200, align: "center", sortable: true},
{ name: 'SchemeCode', index: 'SchemeCode', width: 80, align: "center", sortable: true },
{ name: 'SchemeName', index: 'SchemeName', width: 80, align: "center", sortable: true },
{ name: 'PropertyType', index: 'PropertyType', width: 80, align: "center", sortable: true },
{ name: 'TenureType', index: 'TenureType', width: 80, align: "center", sortable: true },
{ name: 'Status', index: 'Status', width: 75, align: "center", sortable: true },
{
name: 'ManagementCost', index: 'ManagementCost', width: 110, align: "center", editable: true, edittype: "select",
editoptions: { value: "M10N:MGMT_10_PCENT_N;M10SW:MGMT_10_PCENT_SW;M15N:MGMT_15_PCENT_N;M15SW:MGMT_15_PCENT_SW" }
},
{ name: 'RentChargeMonth', index: 'RentChargeMonth', width: 100, align: "center", sortable: true },
{ name: 'SCChargeMonth', index: 'SCChargeMonth', width: 100, align: "center", sortable: true }
],
height: 'auto',
width: 'auto',
rowNum: 30,
editable: true,
mtype: 'GET',
loadonce: true,
rowList: [30, 40, 50],
pager: '#jQGridDemoPager',
sortname: 'PropertyId',
viewrecords: true,
sortorder: 'desc',
Thanks.