Browse by Tags
All Tags » CellContentTemplate (RSS)
Showing page 1 of 4 (38 total posts)
-
Hi there.
I don't know exactly how you refer to this, but we have been using FieldName='' '' and FieldName=''.'' to bind to the entire record for some fields.Our requirement is that we display a list of names as buttons. The user must be able to sort the column based on the names.How do we sort a column by a field on the Item and yet have the ...
-
I have a column in Xceed datagrid where code is like:
<xcdg:Colum FieldName=''CorpId'' CellContentTemplate=''{StaticResource nameConverter}''/>
Now FieldName is taking CorpId as value but I am using a converter to display the respective Name based on CorpId. When I am using SortDescription to perform sorting on this column, actually ...
-
I recently upgraded to 3.7 and still couldn't get this to work easily. I did eventually though but I think not through the ForeignKeyConfiguration property.
I had to jump through several hoops to get it working. Here is how I did it.
PARTIAL CollectionViewSource
<xcdg:DataGridCollectionViewSource ...
-
Our default viewer for images in CellContentTemplate gives the image all the place that it could get. In order to change that, you can redo the CellContentTemplate's DataTemplate.
Here's an example that redoes the cell content template to a String field that contains a URL to the image, it sets the StretchMode to ''None'' which simply stops ...
-
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)); ...
1
|
|
|
|