AD
Administrator
Syncfusion Team
January 23, 2007 07:09 PM UTC
Hi James,
Thanks for being patience.
Please try using the following code snippet to hide the focus around the current cell.
>>>>>>>>>>>>>>>>>
this.gridGroupingControl1.TableModel.Options.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;
>>>>>>>>>>>>>>>>>
Kindly let us know if you need any further assistance.
Have a nice day.
Best regards,
Madhan
JB
James Blibo
January 23, 2007 11:37 PM UTC
This doesn't solve my issue. Your solution is sort of like a global grid setting to control the behavior of the selection.
What I really need to do is to reset the current cell. However, it seems that once a current cell is set my clicking in a cell on the grid, there's no easy way to 'reset' the current cell so that 'no cell is the current cell'.
Basically, I want to get the ggc in its initial state, when there was presviously no current cell until the user clicks into a cell.
AD
Administrator
Syncfusion Team
January 24, 2007 10:50 AM UTC
Hi James,
Thank you for being patience.
You can use the MoveTo method of the CurrentCell to achieve the intend behavior. The following is the code snippet
>>>>>>>>>>>>>>>>>>>>>>>>
// moving the focus, above the record rows.
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(3,0);
>>>>>>>>>>>>>>>>>>>>>>>>
Kindly let us know if you need any further assistance.
Have a nice day.
Best regards,
Madhan
JB
James Blibo
May 7, 2007 07:56 PM UTC
This snippet works fine, but the focus rectangle is still on the old cell, other the caret had been move to a new cell.
RA
Rajagopal
Syncfusion Team
May 8, 2007 10:42 PM UTC
Hi James,
If you dont want the active currentcell at any particular instance, use the below code. This will help you.
this.gridGroupingControl1.TableControl.CurrentCell.Deactivate(true);
Thanks,
Rajagopal