Hi,
my xamgrid contains some columns and child columns:
<ig:TextColumn /><ig:TextColumn /><ig:ColumnLayout > <ig:ColumnLayout.Columns><ig:TextColumn /> <XamGridColumns:XamComboEditorColumn />
If i collapse and expand the parent row again the content of the XamComboEditorColumn changes. The other columns keep their content, the cells within the XamComboEditorColumn exchange their content as mentioned. AdjustDisplayElement is called twice for each cell.
Please help, thanks.
Is Equipment going to be different for each Row?
-SteveZ
sorry. For example:
ObservableCollection<DemoData> Data contains
string PropAdouble PropBObservableCollection<Car> PropC
Car contains
string Name { get; set; }Equipment SelectedEquipmentObservableCollection<Equipment> Equip
and ItemsSource of the XamGrid is Data
How do i bind Eqip to the Column ItemsSource?
Could you provide a little more details?
Perhaps an example of how your data is laid out?
Thanks!
What should i do, if i have a list within a list within a list. How to bind that?
I need help, asap!
Bye
Since a column isn't a FrameworkElement, you can't use a binding with and rely on DataContext inheritance or ElementName bindings, however you can use StaticResource as your Source.
<ig;ComboBoxColumn ItemsSource={Binding Source={StaticResource yourCollection}, Path=yourItemsPropertyName}/>