Browse by Tags
All Tags » CellEditors (RSS)
Showing page 1 of 2 (15 total posts)
-
The Cell Editors topic in the documentation should help you get started.
The drop-down you are referring to is the auto-filter control, and although it is not a cell editor, you could look at the Custom Auto-filtering Controls topic to get an idea of how it is constructed.
Something you should keep in mind is that only one element in the cell ...
-
Hi Paul,
The current version of the GUI designer does not support configuring cell editors. That being said column's already have a default cell editor appropriate for its data type. If you want to change the cell editor or create a new one, then you will need to do this in XAML.
<xcdg:DataGridControl ...
-
You need to use a CellEditorBinding in order to bind the content of the RichTextBox to the cell's; however, if you want to use the WPF RichTextBox, you might be in for a surprise as it is not like the WinForms one and can't be easily bound to.
For example, in the WPF RTB, there is no Text property to which you can bind but rather a Document ...
-
Hi , I´m trying to insert a listbox into a cell, but still I couldn´t.
I´m loading a xml like this
StringBuilder data = new StringBuilder();
data.Append(''<r>'');
data.Append('' <name>William</name>'');
data.Append('' <p>'');
data.Append('' ...
-
Hi Dave,
I should have been more specific. You need to change both the CellContentTemplate and the CellEditor in order to display a checkbox when the cell is being edited and when it is not.
The CellEditorBinding markup extension can only be used within the context of a cell editor, it will do nothing when used in the CellContentTemplate. That ...
-
You will also need to change the CellEditor if you are going to edit the data. The same kind of DataTemplate can be used. just make sure that you bind the IsChecked property of the CheckBox using a CellEditorBinding extension. For example:
<DataTemplate> <CheckBox IsChecked=''{xcdg:CellEditorBinding}''/></DataTemplate>
-
Got it:
List<String> itemList = new List<String>(); itemList.Add(''NW''); itemList.Add(''N''); ...
-
This thread should point you in the right direction; however, keep in mind that from a WPF stand-point it is not recommended to create DataTemplates in code. In fact, the class that is used to create them ( FrameworkElementFactory ) has been obsoleted.
-
When working with AutoCreateColumns = false, for the InsertionRow to
function property, you will need to manually set CellEditors on the
Columns.e.g.:<Column CellEditor=''{x:Static xcdg:CellEditor.TextBoxEditor}'' />
As for your second question, you can find the answer in this thread.
-
I've just noticed that arrowing up or down on a cell currently being edited no longer:
-ends editing on a DataCell
-switch rows(up or down)
It used to work. Did something change in 2.0.x ?
1
|
|
|
|