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

Grid Multiple selection with different color for Important row

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Antelson
Top achievements
Rank 1
Antelson asked on 09 Sep 2016, 02:09 PM

Hello,

We do specify separate color for Important rows having note field. It was normally in "green" color when row with "note" data is loaded and other rows remain "white". While selecting multiple rows using shift key+mouse click the row with "note" data will be "yellow" color and other remaining rows will be default select color("blue").

This was working fine in IE browser. But in chrome or edge browser I cannot able to select multiple columns. Even though I select multiple rows using the property (EnableDragToSelectRows="true") and (AllowMultiRowSelection="True") I found that I cannot able to make color change that I have written in the function  (OnRowSelected="gdUnassigned_RowSelected").

The problem is If i give the property (EnableDragToSelectRows="true") then (OnRowSelected="gdUnassigned_RowSelected") won't be working.

In IE11 I have not specify the property (EnableDragToSelectRows="true") without this IE11 worked fine.

 

Please respond for my post and give me a solution though because it is very important feature for our project.

 

Thanks,

Antelson

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 14 Sep 2016, 11:16 AM
Hello Antelson,

Could you please elaborate which version of the controls you are using and how you are changing the row colors. You can post the markup of your RadGrid and the logic within the OnRowSelected event, so we can examine it.

Meanwhile, could you please ensure that there are no JavaScript errors on the page when you are selecting the rows?

I am looking forward to your reply.


Regards,
Konstantin Dikov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Antelson
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or