Browse by Tags
All Tags » ForeignKeyConfiguration (RSS)
-
Hi,
I have following problem: there are two entities with relation 1 -> 0..1 . In editing mode of datagrid I have got a checkbox. If there is relationship beetween these entities I want to have this checkbox checked ;-) . Of course If someone check/uncheck I'd like change the relationship. How can I achieve this with datagrid? Thanks in ...
-
I've been trying to code my grid to allow a user to choose a job to assign a list of materials to.
There is a Material table which is bound to the data grid. It has a foreign key link to the Job table.
I initially bound the Material.Job field but due to the fact that it has a foreign key constraint underneath in Linq2Sql, whenever the grid tried ...
-
I have a ForeignKeyConfiguration applied to a column on a grid. When a row is edited or a new row is inserted, the grid automatically generates a drop-down box that maps the displayed values to the underlying values.
My ForeignKeyConfiguration includes a value that I do not wish to appear in the drop-down box, but I wish it to be present in ...
-
I have a DataGrid with a column to which I attach a ForeignKeyConfiguration which uses a ForeignKeyConverter to change the bound data so that different values are presented in the grid based on a key-value mapping.
However, if I call DataGridControl.ExportToExcel() on this grid, the data in the resultant Excel spreadsheet shows the ...
-
This post contains three questions really, so I'll try and be as succinct as possible.
I have a class (MyClass) derived from UserControl containing a DataGrid with a Column defined as thus:
<xcdg:Column FieldName=''Contact'' ForeignKeyConfiguration=''{StaticResource contactForeignKeyConfiguration}'' />
The ForeignKeyConfiguration is ...
-
I have a DataGrid bound to a class where one of the properties is of a run-time Enum type created using EnumBuilder. I wish to have the Column automatically detect the enumerators in the enum and display them in a drop-down box on the cell (a ComboBox).
I understand that if the enum was defined at design-time, I can use the following XAML ...
|
|
|
|