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

RadGrid allowmultirowselection not working

2 Answers 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cyber High
Top achievements
Rank 1
Cyber High asked on 09 Nov 2012, 08:28 PM
It seems like I've run into a bug in my radgrid that does not allow me to select multiple rows.  Basically, if I click the checkboxes then I can select multiple rows.  However, if I click the row anywhere except the checkbox it selects that row but deselects all the other selected rows.  It looks like my only option right now is to forego row selecting and just implement my own custom checkbox column.  I'd rather not do this since it will require a lot of code changes (validation etc...) so I wanted to check here to see if anyone has any ideas.
My current Telerik version according to the DLL is 2011.3.1305.35.  My code is below.

<telerik:radgrid id="rgItems" runat="server" autogeneratecolumns="false" enableembeddedskins="false" onneeddatasource="rgItems_NeedDataSource" onitemdatabound="rgItems_ItemDataBound" allowmultirowselection="true">
  <clientsettings enablerowhoverstyle="true">
    <selecting allowrowselect="true" />
  </clientsettings>
  <mastertableview datakeynames="itemID,subItemID" allowsorting="true">
    <columns>
      <telerik:gridclientselectcolumn uniquename="clientSelectColumn" itemstyle-width="30px" headerstyle-width="30px" headerstyle-horizontalalign="Center" itemstyle-horizontalalign="Center" />
      <telerik:gridboundcolumn datafield="itemName" sortexpression="itemName" headertext="Item Name" />
    </columns>
  </mastertableview>
</telerik:radgrid>


2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Nov 2012, 03:45 AM
Hello,

if I click the checkboxes then I can select multiple rows.  However, if I click the row (with ctrl key) anywhere except the checkbox it selects that row but deselects all the other selected rows.  


Please multiple row selection you have to use Ctrl key.

Thanks,
Jayesh Goyani
0
Ravindra
Top achievements
Rank 1
answered on 22 May 2015, 07:22 AM

Hi,

I am running into same issue. Please suggest the fix?

Tags
Grid
Asked by
Cyber High
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Ravindra
Top achievements
Rank 1
Share this question
or