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.
This is misleading to have a thread on XamGrid in the XamDataGrid forum. Please consider moving it.
I also know about using the TemplateColumn to resolve this issue.
My XamGrid has about 90 columns, most of them are template columns. looks like using so many TemplateColumn has created performance issue in loading the XamGrid, enter/exit row edit mode. Is this true or using TemplateColumn in place of TextColumn/DateColumn/ComboBoxColumn has nothing to do with performance?
Hi,
I haven't heard back from you and I was wondering if you my suggestions resolved your issues. Please let me know if you have further questions.
Hi Varun,
If you are using a template column, you need to use the TemplateColumn object's EditorTemplate property to set the custom editor. Then it should work properly.
Gajender was also using AllowEditing set to Row and CellClickAction set to SelectRow because he wanted the whole row to be in edit mode once the row was selected.
This documentation may help you.
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamGrid_Editing_Data_in_a_Template_Column.html
Please let me know if you have any questions.
I am facing similar problem. I have XamGrid and Template column which has Button in it. Now the requirement is when user uses tab to go the cell which has Button in it then focus should be set to Button instead of Cell. I also want to achieve similar behaviour for template columns for Combobox.
I have already tried following code but it didn't help-
<ig:XamGrid.EditingSettings>
<ig:EditingSettings IsOnCellActiveEditingEnabled="True" ></ig:EditingSettings>
</ig:XamGrid.EditingSettings>