I have a grid with 20 columns.
this has to be configurable display, ie. user can choose wich fields he want to display and which not.
and some fields need checkbox and some needs combobox.
if i set the autogenerate to false and define all the 20 fields....it will be fixed...and the user cannot change the fields.
how to make it flexible.?
if we have autogenerate fields to true...and then...dynamically change the fieldlayout of the perticular column ?
lets say....column[10] fieldlayout...with checkbox. etc
Hello kornelraju,
Thank you for your post. I have been looking through it and a possible solution for you is to use a FieldChooser, which will allow the user to select which fields will be vissible in the layout. You can read more about how to use it here:
http://help.infragistics.com/NetAdvantage/WPF/2011.1/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v11.1~Infragistics.Windows.DataPresenter.FieldChooser.html
You can also create different layouts and switch between them during runtime. In this forum thread:
http://community.infragistics.com/forums/p/41460/231170.aspx
it is discussed how to do so. Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.
If you have any further questions on this matter do not hesitate to ask.