Hi team,
I have a toolbar on my pggrid, and on this toolbar I add a picklist. Now I have a demand, I hope I can select muitl records in this picklist. So I want to know whether we can support this function? Or we can set a mutil-picklist.
The following is my code:
toolbar: {
items: [
{ type: '<span>Please choose which column you want to hide: </span>' },
{ type: 'select', cls: 'sl_dataIndx',
options: function (ui) {
var CM = ui.colModel,
options = [''];
for (var i = 0; i < CM.length; i++) {
options.push(CM[i].title);
}
return options;
},
listeners: [
{
change: function (evt) {
//alert($(this).val());
}
}
]
},
]
}
Thank you!