Hi James,
Issue 1:
You can handle the TableControlPrepareViewStyleInfo event and change the border style of the static current cell by checking Style.Celltype and e.RowIndex/ColIndex. Here is a code snippet to show this.
private void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, GridTableControlPrepareViewStyleInfoEventArgs e)
{
GridTableControl tc = e.TableControl as GridTableControl;
if( tc.CurrentCell.RowIndex == e.Inner.RowIndex && tc.CurrentCell.ColIndex == e.Inner.ColIndex
&& e.Inner.Style.CellType == "Static" )
{
e.Inner.Style.Borders.All = new GridBorder(GridBorderStyle.Solid,Color.Blue);
}
}
Issue 2:
There is a property to specify the current cell active behavior when moving the current cell or click inside the current cell. You can specify it using this code:
this.gridGroupingControl1.TableControl.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;
Please refer the attached sample for implementation.
GGCStaticBorderStyle.zipBest Regards,
Haneef