Getting the row data from the sfDataGrid using the RowColumnIndex

In Xamarin Forms I was able to get the row data from the SfDataGrid using the RowColumnIndex:

var rowData = _grid.GetRecordAtRowIndex(rowColumnIndex.RowIndex);

Is there a way to do this with the MAUI SfDataGrid?


2 Replies

NY Nirmalkumar Yuvaraj Syncfusion Team August 21, 2023 10:55 AM UTC

Hi Alferdo,


We have planned to Expose “GetRecordAtRowIndex” method in the 2023 Volume 3 SP release, which is expected to be rolled out at the end of November 2023. We will let you know when this method is Exposed. We appreciate your patience until then.


Regards,

Nirmalkumar



TP Tamilarasan Paranthaman Syncfusion Team November 21, 2023 01:59 PM UTC

Hi Alfredo,


We are glad to announce that our Essential Studio 2023 Volume 3 Service Pack Release V23.2.4 is rolled out and is available for download under the following link.


Essential Studio 2023 Volume 3 Service Pack Release v23.2.4 is available for download | Announcements Forums | Syncfusion


We are also glad to announce that support to access the GetRecordAtRowIndex method has been incorporated into our Vol 3 SP release. Please update the Syncfusion.Maui.DataGrid package to version 23.2.4.


https://www.nuget.org/packages/Syncfusion.Maui.DataGrid


Please refer to the code snippet below to learn how to utilize the GetRecordAtRowIndex method. We have attached the sample for your reference.


Code snippet:


        private void Button_Clicked(object sender, EventArgs e)

        {

           var rowData = dataGrid.GetRecordAtRowIndex(1);

        }


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Tamilarasan


Loader.
Up arrow icon