Version

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. For help or questions on migrating your codebase to the XamDataGrid, please contact support.

Disable Row Numbering

By default, the row numbers appear in the row selector column. However, you can disable row numbers appearing by setting the RowSelectorSettings object’s EnableRowNumbering property to False, as demonstrated in the following code.

In XAML:

<ig:XamGrid x:Name="MyGrid" AutoGenerateColumns="False">
   <ig:XamGrid.RowSelectorSettings>
      <ig:RowSelectorSettings Visibility="Visible" EnableRowNumbering="/>
   </ig:XamGrid.RowSelectorSettings>
   …
</ig:XamGrid>

In Visual Basic:

Me.MyGrid.RowSelectorSettings.Visibility = Visibility.Visible
Me.MyGrid.RowSelectorSettings.EnableRowNumbering = False

In C#:

this.MyGrid.RowSelectorSettings.Visibility = Visibility.Visible
this.MyGrid.RowSelectorSettings.EnableRowNumbering = false;
xamGrid Disable Row Numbering 01.png