Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3806
DateColumn and ComboBoxColumn in xamgrid does not get focus on editor controls when the tabbing thru the row in edit mode
posted

I have DateColumn and ComboBoxColumn in xamgrid. When I am the row edit mode, I can see the date control and combox control in the edit mode, but they don't get focus when I tab through each cell. The Cell Control gets the focus but I want the default editor control (contained by the cell) to get focus, so that the user can edit the using keyboard only. How can default editor control will get the focus while tabbing in edit mode.

I do get the focus in editor control when I use TextColumn and TemplateColumn. How the same can be acheived for DateColumn and ComboBoxColumn?

I have created a sample to explain this better.

Grid_bind_Field_label.zip
Parents
  • 4618
    posted

    Hi Gajender,

    This behavior is definitely possible, you will only need to set the IsOnCellActivatedEditingEnabled property to true, in conjunction with the AllowEditing property which you have applied already, within the XamGrid.EditingSettings; as demonstrated in the following code snippet.

    <ig:XamGrid.EditingSettings>
                    <ig:EditingSettings IsOnCellActiveEditingEnabled="True" AllowEditing="Cell">
                    </ig:EditingSettings>
    </ig:XamGrid.EditingSettings>

    I have also included a modified version of your sample which demonstrates this behavior, for further context.

    If you have any further questions regarding this behavior, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

    Grid_bind_Field_labelUpdtd.zip
Reply Children