Apr 05, 2012, 5:03 PM
AfterCheckAllClick fires RowSelect for every row, how do I prevent this?
My problem is the code runs All_Checked if I select all, but then it fires Row_Checked for each row. How do I configure this so check all is clicked but does not trigger the individual row handlers?
<ext:CheckboxSelectionModel runat="server" HideCheckAll="False">
<DirectEvents>
<AfterCheckAllClick OnEvent="All_Checked" />
<RowSelect OnEvent="Row_Checked">
<ExtraParams>
<ext:Parameter Name="row" Mode="Raw" Value="rowIndex" />
</ExtraParams>
</RowSelect>
<RowDeselect OnEvent="Row_UnChecked">
<ExtraParams>
<ext:Parameter Name="row" Mode="Raw" Value="rowIndex" />
</ExtraParams>
</RowDeselect >
</DirectEvents>
</ext:CheckboxSelectionModel>
Last edited by chearner; Apr 05, 2012 at 6:43 PM.