Browse by Tags
All Tags » CellContentTemplate (RSS)
Showing page 1 of 4 (36 total posts)
-
Hello,
I'm using ICustomTypeDescriptor to build a DataGridCollectionView, and bind it to a Datagrid (like in LargeDataSets).
Now, I want to style the columns (width, DataTemplate).
How can I do that ?
Thanks
-
I'm working on quite big project which extensively uses Xceed datagrid. So far we have set CellContentTemplate to make it possible to map integer codes stored in transaction tables to human readable descriptions (also stored in database, in dictionary tables). See line below:<xcdg:Column FieldName=''Country'' Title=''Country'' ...
-
The first textbox column for ''GL Code'' binds just fine and saves all edits. The second doesn't ''Deferred GL Code''. Does anyone know how to get the second to work like the first, or know a better way to do both?
Thanks, Ben
<wpfc:XceedGridExtended Grid.Row=''1'' Grid.Column=''0'' Grid.ColumnSpan=''3'' Name=''GLCodeGrid'' ...
-
We have a generic grid that is loaded with Columns at runtime.However I need to set the content template of items such as phone numbers.Is it possible to define the datatemplate in XAML then use it in the codebeind?<!-- XAML ->
<local:PhoneNumberConverter x:Key=''PhoneConverter'' /><DataTemplate ...
-
OK, I resolved the matter of hiding columns in the DetailDescription by simply adding the Browsable(false) attribute to the properties I don't wish to show.
However, I still need to apply a CellContentTemplate to my DataGridItemProperty objects in my DetailDescription. To clarify my question, I have the following DataGridControl defined ...
-
How to I Binding values from one column to another with using DataTemplate? In C#, not in XAML.
Code:
private void GenerateDataTemplates(int ColumnNumber){ var dt = new DataTemplate(); var spOuterFactory = new FrameworkElementFactory(typeof(StackPanel)); ...
-
I have a DataGridControl which is bound to an Observable collection. This is working fine and I see my generated columns and the cells are filled in just fine.Problem:Now I want to add an additional column whose sole purpose is to have cells that are themselves buttons or contain buttons so that the user can click the button and do ...
-
In my DataGridControl, I have defined Column objects for the columns of the master rows and DataGridItemProperty objects (like below) for the columns of the detail rows (PropertyDetailDescription in DataGridCollectionViewSource.DetailDescriptions).
<xcdg:DataGridItemProperty Name=''MyProp'' DataType=''{x:Type sys:Decimal}'' ...
-
Hi,
I'm trying to customize my DataGrid display depending on the data it contains.
What I need to have is:
1) Changing the colour of some DataRows depending on a property of the displayed object (in order to highlight the active DataRows)
2) Displaying some entire DataRows with strikethrough text depending on a property of the displayed ...
-
Hi Guys,
I have the following screnario (in a TableView):
I have a table X where where the record can be of three types, let's say A, B, C
This type is shown in Column 1 where the type is controlled using a combo box.
Now the screnarios for Column 2 are
Scenario 1: if the data is of type A, then column 2 will have a combo box where the ...
1
|
|
|
|