Nov 26, 2014, 12:53 PM
[CLOSED] Problem with BeforeSelect on the Grid
Hi all
I need to check the State of some data in a Master/Detail View.
The Master View Element is a GridPanel, the Detail a FormPanel. I to the check on the Grid's BeforeSelect Listener. In case of Invalid Data the Method returns false...
Any Idea on how I can prevent the Selection Change in case of non valid Detail Data ?
Peter
I need to check the State of some data in a Master/Detail View.
The Master View Element is a GridPanel, the Detail a FormPanel. I to the check on the Grid's BeforeSelect Listener. In case of Invalid Data the Method returns false...
<Listeners>
<BeforeSelect Handler="CheckPositionValidity(item,record,index);" />
<SelectionChange Handler="loadItemDetail(item, selected); " />
</Listeners>
It doesn't matter if the BeforeSelect returns true or false, the Selection Change is triggered. I also tried to use the Select Event - same problem.Any Idea on how I can prevent the Selection Change in case of non valid Detail Data ?
Peter
Last edited by Daniil; Nov 28, 2014 at 8:03 AM.
Reason: [CLOSED]