This example demonstrates how to implement select/unselect for all rows in a group row.
Added By: Cedric C at: 10/24/2017 6:15:09 AM I suppose the select all ability is implemented by this part of code:
But what is meant to do the 'checkBox_Load' callback?
First, place ASPxCheckBox and ASPxLabel into the ASPxGridLookup.GridViewProperties.Templates.GroupRowContent template.
Second, set the ASPxCheckBox.Checked property and the client-side ASPxCheckBox.ClientSideEvents.CheckedChanged event in the ASPxCheckBox.Load event handler.
In this example the ASPxLabel.Text is bound in the markup using Two-Way DataBinding.
See also
How to implement select/unselect for all rows in a group row
Question Comments
Added By: Cedric C at: 10/24/2017 6:15:09 AM I suppose the select all ability is implemented by this part of code:
<GroupRowContent> <table> <tr> <td> <dx:ASPxCheckBox ID="checkBox" runat="server" OnLoad="checkBox_Load" /> </td> <td> <dx:ASPxLabel ID="CaptionText" runat="server" Text='<%# GetCaptionText(Container) %>' /> </td> </tr> </table> </GroupRowContent>
But what is meant to do the 'checkBox_Load' callback?