User (Old forums)MemberJuly 23, 2007 at 7:54 amPost count: 23064
I’d like my grid to always show the celleditors, of all the cells in a grid, when the webpage is displayed. But they don’t show untill the user has edited a cell. Anybody have a clue why?
XAML for my datagrid:
<!– This column will use the DatePicker editor by default. You don’t have
to specify anything. Xceed DataGridControl will always select an
appropriate CellEditor according to the DataType. –>
<!– Of course, you can also specify a particular editor, custom or not. –>
<!– Invisible columns –>
public void windowLoaded(object sender, RoutedEventArgs e)
Xceed.Wpf.DataGrid.Licenser.LicenseKey = “XXXXXXXXXXXXXXXXXXXXXX”;
DataSource = new TestKlasseCollection();
DataSource.Add(new TestKlasse(1, “2”));
DataSource.Add(new TestKlasse(3, “4”));
grid.ItemsSource = DataSource;
catch (Exception ex)
Thanks in advance.
Imported from legacy forums. Posted by krogh (had 1155 views)User (Old forums)MemberJuly 23, 2007 at 10:22 amPost count: 23064
Seems like a bug report may be needed for this.
I played around with this also and for my grid I find that “CellEditorDisplayConditions.Always” only starts to works after I set the CurrentItem once or twice (I have a navigator control built into my footer).
After the editors start to appear, if I scroll down within my TableView ScrollView, they show up “most” of the time. I see cases where some of the rows have editors and others do not.
There seems to be some kinks in this feature or a lack of understanding on my part of how it should work.
I did note that there is an Intellisense warning for CellEditorDisplayConditions.Always that is will have a big impact on performance…. I can confirm it certainly does! So it seems like something to avoid anyway.
While investigating even I tried to combine all the flags from both enumerations EditTriggers and CellEditorDisplayConditions without success.
EditTriggers = EditTriggers.ActivationGesture | EditTriggers.BeginEditCommand | EditTriggers.CellIsCurrent | EditTriggers.ClickOnCurrentCell | EditTriggers.RowIsCurrent | EditTriggers.SingleClick;
this.CellEditorDisplayConditions = CellEditorDisplayConditions.RowIsCurrent | CellEditorDisplayConditions.Always | CellEditorDisplayConditions.MouseOverCell | CellEditorDisplayConditions.MouseOverRow;
Imported from legacy forums. Posted by Richard (had 535 views)Xceed SupportMemberAugust 6, 2007 at 8:11 amPost count: 5658
OK, back from vacation… 😉
We’ll take a look into this and update this thread with our findings… Thank you for reporting and thank you for the effort put into trying to “narrow” the case…
Imported from legacy forums. Posted by Marcus [Xceed] (had 404 views)Xceed SupportMemberAugust 8, 2007 at 10:56 amPost count: 5658
Hi, just to drop-in on you guys…
The nature of the problem has been identified. Unfortunately, the fix did not make it in time for version 1.2 (due real soon). You can expect to see resolution for this problem in the next service release (post 1.2).
Imported from legacy forums. Posted by Marcus [Xceed] (had 246 views)User (Old forums)MemberAugust 8, 2007 at 2:07 pmPost count: 23064
Can you tell me which version of the GridControl will have this fix?
Imported from legacy forums. Posted by Kelly (had 412 views)
- You must be logged in to reply to this topic.