I have build a UserControl with a WinGrid to display a list of data. Based on the place it will be used I have to display different set of columns for the sale list of data.
So I have defined 2 different row layouts that I can see in the band: RowLayout1 and RowLayout2.
What I need is to be able to programmatically change the RowLayout that is applied on the grid. Can this be achieved?
Thank you.
Best regards,
Emanuel Haisiuc
Hello Emanuel,
I am happy to hear that you have found a resolution for your case.
Should you need any further assistance, please let me know.
Thank you for using Infragistics components.
Tihomir TonevAssociate Software DeveloperInfragistics
Found it: there is an Apply method available on the RowLayout object. Invoking that method I obtained what I was looking for.