|
What exactly this method "ResolveToRecordIndex(rowIndex);" is doing? Why are we resolving a row into a record? aren't they same and if they are not what is the difference? |
We have RowIndex and RecordIndex. RowIndex means its starts from StackedHeader to TableSummaryRow. We have lot of rows in SfDataGrid.StackedHeaderRow, HeaderRow,DefaultRow, UnboundRow, CaptionSummaryRow, GroupSummaryRow, TableSummaryRow, FilterRow, etc.,
But RecordIndex is only for DefaultRow(RecordRow) alone
|
|
Further why there is any need of getting MappingName of a column to fetch a cell value? isn't a column index is enough for it? |
Yes, you need a MappingName for get the cell value in SfDataGrid. If you get the CurrentCell value no need for MappingName, please refer the below UG link
If you get the cell value randomly for any one of a row and column you need a MappingName, please refer the below UG link
|
|
Lastly, is there any straightforward method to extract a cell value by supplying the row and column index of the cell?
|
SfDataGrid is data bounded. So, SfDataGrid doesn’t have the support to get the cell value by using Row and Column index. You can achieve your requirement to get the cell value for a particular row and column by getting the ItemPropertiesProvider in SfDataGrid.View. Please refer the below UG link,
|