I'm trying to do stuff (fill another select) when the user selects something in a select-type editor. I'm using the 'change'-event. The problem is, it does not trigger when I select someting!
$("#my_grid").setColProp("my_col", {
dataEvents: [
{
type: 'change',
fn: function (e) {
alert("Do stuff here once I get the event to work!");
}
}
]
});
Is maybe the 'change'-event not the one to use?
Also tried this way, in the definition:
{ name: 'my_col', index: 'my_col', width: 80, edittype: 'select', editable: true, editoptions: { dataEvents: [{ type: 'change', fn: function (e) { alert("safd") } }]} },