Hi,
I want the active cell to be editable without having to click or use som keyborad action so i set the following in my dtagrid
MyGrid.EditingSettings.AllowEditing = Infragistics.Silverlight.
EditingType.Cell;
MyGrid.EditingSettings.IsOnCellActiveEditingEnabled = true;
Thi works exactly how i want it to work when an ordinary TextColumn. But when have a template column with just an TextBox as EditingTemplate, the active cell do not get focus. ny solutions?
//Tommy.
Hi Steve,
Thanks, the thing was that i used a grid surrounding my control in the datatemplate. Removing that it works fine.
here is the sample of what he said
http://community.infragistics.com/forums/t/32093.aspx
Hi Tommy,
So, i tested this out with the Service Release for 9.1. And it worked just fine. However, we can only set focus on the root element in the DataTemplate, which means, in order for it to get focus, it has to be a Control. If thats the case, then this should work no problem.
However, if you were for example wrapping the TextBox in a Panel, or a Border or something else along those lines, then we wouldn't be able to set focus ourselves. However, it could be achieved by you, if you were to add a listener to the Loaded event of the TextBox, and in the listener set focus to the TextBox.
Hope this helps,
-SteveZ