We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Selected row loses highlight when RowSelected event is used

If the following is added to a blazor grid the selected row is not highlighted. If this is removed the selected row is highlighted.   How can we enable events and still have the selected row highlighted?

<gridevents rowselected="RowSelectHandler" tvalue="Asset"></gridevents>



4 Replies

PS Prathap Senthil Syncfusion Team October 20, 2022 10:34 AM

Hi Phil,


Greetings from Syncfusion support


We have validated your query and we can’t be able to reproduce the reported issue at our end version[20.3.0.50].kindly upgrade to the latest version.


If the reported issue persists, or we misunderstood your query kindly share as the below details validate further at our end.


  1. Share with us the customized code from the rowselect event.
  2. Share with us the entire Grid code snippet along with the model class.
  3. Share with us the NuGet version used.
  4. Share with us the video demonstration of the issue.
  5. If possible, kindly share with us the simple issue reproducible sample or modify the reported issue on the above-mentioned sample.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.



Regards,

Prathap S


Attachment: BlazorApp1_3fc6aa3.zip


PH Phil October 24, 2022 09:28 AM

The issue seems to be with our datasource. The Datasource was bound to a property which returned a list based on a Linq query. By changing to a simple list populated during  OnIntilize all now works. Blazer is new to us so assume the issue is down to us.


Attached is an example of it not working, where the Orders list returned is from a linq query within the bound property.


Attachment: BlazorApp_62a3f0a9.zip


PS Prathap Senthil Syncfusion Team October 26, 2022 11:27 AM

Hi Phil,


Thanks for update


We checked your query, and we are currently validating the feasibility of the reported query. We will update the further details within two business days (28th Oct).


Until then we appreciate your patience.


Regards,

Prathap S



PS Prathap Senthil Syncfusion Team October 28, 2022 12:59 PM

Hi Phil,


Sorry for the inconvenience caused.


Currently, we are validating your sample with high priority. Further details will be updated on or before 1 Nov 2022.


Regards,

Prathap S


Loader.
Live Chat Icon For mobile
Up arrow icon