This is a migrated thread and some comments may be shown as answers.

[Solved] Grid Select Column

1 Answer 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Azees
Top achievements
Rank 1
Azees asked on 05 Nov 2009, 08:23 AM
Hi

       i am using telerik version-2009.1.402.20 product in my web application.
        I have grid with GridclientSelect column like....

 

      <telerik:GridClientSelectColumn UniqueName="DelSel" HeaderStyle-HorizontalAlign="Center"></telerik:GridClientSelectColumn>


       Based on some condition i make that check box to invisible state.So some row having check box some rows does not .
       What  iam issue is if i select header check box all the row getting selected even if the row is not having check box.
       Also i have multiselect option. what i want is when i am selecting header check box it should select only which are having
      check box in Gid rows.So no need to select all the rows in grid.

Regards,
Abdul Ajees.M

 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Nov 2009, 01:45 PM
Hello Abdul,

The following code library illustrates on cancelling for each row where the checkbox is disabled bymaking use of the OnRowSelecting client event. In your case, you can check if the checkbox is visible or not and then use the same logic.
GridClientSelectColumn - select all rows with enabled check boxes only 

Thanks
Shinu.
Tags
Grid
Asked by
Azees
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or