Jan 03, 2013, 2:37 PM
[CLOSED] Get Result from DirectMethod for BeforeSelect
Hi,
I have a CheckboxSelectionModel and i want to do something with a directmethod when beforeselect is triggered. If directmethod's result is false, selectionmodel should deselect that row. Is there a way to do this?
I have a CheckboxSelectionModel and i want to do something with a directmethod when beforeselect is triggered. If directmethod's result is false, selectionmodel should deselect that row. Is there a way to do this?
var abcBeforeSelect= function (item, record, index) {
App.direct.Save({
success: function (result) {
return result;
},
eventMask: {
showMask: true
}
});
}
<ext:CheckboxSelectionModel runat="server" Mode="Simple">
<Listeners>
<BeforeSelect Fn="abcBeforeSelect" />
</Listeners>
</ext:CheckboxSelectionModel>
Thanks..
Last edited by Daniil; Jan 03, 2013 at 4:03 PM.
Reason: [CLOSED]