OK... I have kindof a sepecialised case. I am getting log data back from a DB that has 5 static properties and then any number of variable properties. The class looks like this:
Prop 1, prop 2, prop 3, collection of properties 4-n... all possible properties are known.
Based on the type of log, properties 4-n will be different, again, all possible properties will be known.
The values of these properties will always be text.
binding properties 1-3 are easy... but is it possible to bind column values to items within a sub collection? for example, key="{Binding PropCollection.Prop4}"
Thanks in advance for any help
Marc
Hi,
So, what exactly are you doing?
Can you explain your scenario? Are you creating a Custom ColumnContentProvider?
What does your editing template look like?
The more information you provide, the better chance we have of helping you.
Thanks,
-SteveZ
who are you asking what from?
Really... nothing?????????????????
is it possible to use this set up to Edit the columns you generate on the fly?
i have a collection that has a parent / child row set up in it. i have got it to create and bind the columns based on the data that i have in the child collection.
here is the error it is throwing, the numbers are different based on the cell and row
Invalid Binding Path; character 3 in 3.
at System.Windows.PropertyPathParser.ReadStepDescriptor(Boolean calledFromParser) at System.Windows.PropertyPathParser.Parse() at System.Windows.PropertyPath.ParsePath(String path, Boolean calledFromParser) at System.Windows.PropertyPath.ParsePathInternal(Boolean calledFromParser) at System.Windows.Data.Binding.set_Path(PropertyPath value) at System.Windows.Data.Binding..ctor(String path) at Infragistics.Silverlight.Controls.Primitives.ColumnContentProviderBase.ResolveEditorBinding(Cell cell) at Infragistics.Silverlight.Controls.CellControl.AddEditorToControl() at Infragistics.Silverlight.Controls.Cell.EnterEditMode(Boolean cellIsEditing) at Infragistics.Silverlight.Controls.XamWebGrid.EnterEditModeInternal(Row row, Cell cell) at Infragistics.Silverlight.Controls.XamWebGrid.EnterEditMode(CellBase cell) at Infragistics.Silverlight.Controls.XamWebGrid.SetActiveCell(CellBase cell, CellAlignment alignment, InvokeAction action, Boolean allowSelection, Boolean setFocus, Boolean scrollIntoView) at Infragistics.Silverlight.Controls.XamWebGrid.SetActiveCell(CellBase cell, CellAlignment alignment, InvokeAction action, Boolean allowSelection, Boolean scrollIntoView) at Infragistics.Silverlight.Controls.XamWebGrid.SetActiveCell(CellBase cell, CellAlignment alignment, InvokeAction action, Boolean allowSelection) at Infragistics.Silverlight.Controls.Cell.OnCellMouseDown(MouseEventArgs e) at Infragistics.Silverlight.Controls.XamWebGrid.c(Object A_0, MouseButtonEventArgs A_1) at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
could you explain this line a little further.
elem.DataContext = mdo.Properties[cell.Column.Key];
i am trying to reproduce in vb.net...