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.

Row Selectors

A row selector is an element that appears in front of each row in xamGrid™. Row selectors are primarily used for selecting or activating rows; however clicking a row selector allows you to perform any custom action on that row by handling the row selector’s event, for more information see the Handle Row Selector Events topics. You can also display row numbers in the row selectors.

To configure row selectors to automatically select rows when clicked, you must enable Row Selection, for more information, see the Selection topic.

Clicking on the row selector while activation is enabled activates the first cell in that row, for more information on enabling activation, see the Activation topic.

You can enable row selectors on the xamGrid by setting the RowSelectorSettings object’s Visibility property to Visible as demonstrated in the code below.

In XAML:

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

In Visual Basic:

Imports Infragistics.Controls.Grids
...
Me.MyGrid.RowSelectorSettings.Visibility = Visibility.Visible

In C#:

using Infragistics.Controls.Grids;
...
this.MyGrid.RowSelectorSettings.Visibility = Visibility.Visible;

The following screen shot displays xamGrid with the default settings for row selector.

xamGrid Enable Row Selectors 01.png