Get grid row index based on column value.

Hi team,

Is there is a way to get the rowindex base on non primary column? I can't use 

GetRowIndexByPrimaryKeyAsync grid method because it will not work on newly addedRow. I'm using batch mode. 

Hoping for your further reply.

Best Regards,


Tyrone


1 Reply

MS Monisha Saravanan Syncfusion Team July 24, 2023 10:44 AM UTC


Hi Tyrone,


Greetings from Syncfusion support.


We would like to inform that we can get the row index based on the primary key column (i.e.) Unique column value) and we can get the rowindex of the newly added record once it is inserted in DataGrid. So before proceeding further with your requirement we need some more clarification from your end. Kindly ensure and share us the below details to procced further at our end.


  1. Are you trying to get the row index for the newly added column once the record is inserted or whether the record is in Edit mode?
  2. Share us the entire Grid code snippet.
  3. Share us the video demonstration of the issue.
  4. If possible kindly share us a simple issue replicating sample from your end.


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,

Monisha




Loader.
Up arrow icon