Wierd GDBG Behavior

I have a form with widgets such as textbox, radio button are placed and at the very end GDBG is placed. when user navigates from control to control using tab key, at first time the grid does get focus but the column doesn''t get highlighted.. There are 4 columns with first of 3 them in disable state. so the only editabl column is 4th. This happens for the first time, so user has to explicitly click on the grid in order to get focus. after that tab the tab behavior works smoothly. Is there a way where in GDBG enter event i can explicitly set focus on 4th column of the grid ? I am using Essential Grid 3.0 Regards Yogi

3 Replies

AD Administrator Syncfusion Team January 12, 2006 08:24 AM UTC

Hi Yogi, you can create the default focus for a specified column by moving the focus to the particular column cell. Given below is the code snippet for this this.gridDataBoundGrid1.CurrentCell.MoveTo(1, 4); Let me know if you need futher assistance. Regards, Madhan.


AD Administrator Syncfusion Team January 12, 2006 02:44 PM UTC

Tks, i do see focus on that cell but the problem is user has to key twice in order to make it editable cell.. is it possible that along with setting focus, can i make that cell editable..so user can start typing right-away.. instead of keying in twice tks for u r help >Hi Yogi, > > you can create the default focus for a specified column by moving the focus to the particular column cell. Given below is the code snippet for this > >this.gridDataBoundGrid1.CurrentCell.MoveTo(1, 4); > >Let me know if you need futher assistance. > >Regards, >Madhan.


ST stanleyj Syncfusion Team January 12, 2006 03:19 PM UTC

Hi Yogi, check out if CurrentCell.Activate(1,4) or CurrentCell.BeginEdit() will work for you. Thanks, Stanley

Loader.
Up arrow icon