i have manually generated a grid, but i also need to add some columns, at codebehind.
How to add a new column to a grid of the DataPresenter?
Hi ,
You need to create a Field or UnboundField Object and add it the FieldLayout.Fields collection.
Here is a help link to defining a Field Layout
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDataPresenter_Define_a_Field_Layout.html
Here is a help link to adding unbound columns in xaml and in code-behind.
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDataPresenter_Add_Unbound_Fields_to_a_DataPresenter_Control.html
Sincerely, Matt Developer Support Engineer
HI,
I am following up on this forum thread.
Please let me know if you need further assistance.
Sincerely,
MattDeveloper Support Engineer