Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

IndexColumn would show index of the current row. 


Reasoning: currently we are using sfdatagrid in dynamic way, we have many rows appearing and disappearing. It is hassle to handle all updates of the rows, indexes etc. the easiest way would to leave this to control itself as it already has all necessary data to display indexes.

Indexes have to work with Pager.


Idea sample:

<SfDataGrid howRowIndexColumn="true" RowIndexColumnIndex="2">
    <RowIndexColumnCell.DataTemplate>
// pass int as binding context
<Label Text="{Binding .}"/>
</RowIndexColumnCell.DataTemplate>
<RowIndexColumnHeader.DataTemplate>
// etc.
</RowIndexColumnHeader.DataTemplate>