I did it in loadComplete event: (or, you can do it when you define the colModel)
$('#grid1').setColProp(mycolname, { editoptions: {
value: myvalues(), // a function to get the select options
dataInit: function(elem){ $(elem).width(70); } //set the width you want
}});
No comments:
Post a Comment