Hi,
I am currently working on creating the fields dynamically.
And we can achieve through with below steps.
xamdatagrid1.datasource = Employees;
Field f1 =new Field( Name="Chandra", Lable="Chandra");
But i need to assign the Fieldsettings to the dynamic field. I read like, we can set the settings to field in Fieldinitialised event.
But how can we set the different types of Field editor like Comobox,radiobutton,hyperlink and button type to Fields which have created dynamically.
Please suggest me to go further on this.
Thanks in advance,
Regards,
Chandra
Hi Stefan,
Thanks for your help!!!
Hello Chandra,
I have modified the sample I sent you before, so now it has the functionality you want.
As per your sample code
<igWPF:Field Name="Model" Label="Model"> <igWPF:Field.Settings> <local:FieldSettingsEx AllowEdit="False" CellWidth="180" FieldDisplayType="ComboBox" DisplayPath="Name" ValuePath="Name" /> </igWPF:Field.Settings> </igWPF:Field>
it will use new FieldSettingsEx
How can i achieve the same through code behind??
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hi Stephan,
Thanks for your help...It's help me to move further in my implementation.