Hi James,
Use the TableOptions.ListBoxSelectionOutlineBorder property to specify a border that should be drawn around a block of selected records. Also handle the TableControlPrepareviewStyleInfo event to set the border style of the currentCell in a grid.
//Set the border style of selected records.
this.grid.TableOptions.ListBoxSelectionOutlineBorder = new GridBorder(GridBorderStyle.Solid, Color.Red, GridBorderWeight.Medium);
private void gridTableControlPrepareViewStyleInfo(object sender, GridTableControlPrepareViewStyleInfoEventArgs e)
{
GridGroupingControl grid = sender as GridGroupingControl;
GridTableControl tc = e.TableControl;
GridCurrentCell cc = tc.CurrentCell;
if( e.Inner.RowIndex == cc.RowIndex && e.Inner.ColIndex == cc.ColIndex )
{
e.Inner.Style.Borders.All = grid.TableOptions.ListBoxSelectionOutlineBorder;
}
}
Sample:
http://www.syncfusion.com/Support/user/uploads/SelectionBorderColor_beba6b.zipBest Regards,
Haneef