Hi,
Have a select list in my colmodel and i want that to be draggable - please let me knwo what am i missing
here is my colmodel: {
title: "Companyname", dataIndx: "Companyname", width: 100, draggable: true,
editor: {
type: 'select',
valueIndx: "value",
labelIndx: "text",
options: [],
mapIndices: { "text": "Companyname", "value": "CompanyId" }
},
validations: [{ type: 'minLen', value: 1, msg: "Required" }]
,
filter: { type: 'textbox', condition: 'contain', listeners: ['keyup'] }
}
Here is my pqgrid obj: $("div#grid_showhide_columns").pqGrid({
width: "100%",
height: 425,
dataModel: dataModel,
copy: false,
fillHandle: 'vertical',
filterModel: { type: 'local', header: true }, //on: true, mode: "AND",
pasteModel: { on: false },
scrollModel: { lastColumn: null },
colModel: columns,
editModel: {
clicksToEdit: 1
},
selectionModel: { column: true },
numberCell: false,
freezeCols: 1,
resizable: true
});