Hi,
We use UltraWinGird (v11.1) in our data rich decision support application. Our end-users are allowed to customize grid layouts on the appplication forms. They can change column ordering/sorting/etc, but not column captions, and then save a custom layout in an xml file (coded with SaveAsXml).
We regularly deploy new versions of the applications. Sometimes we would like to change column captions on grids but we do not do it at the moment because custom layout xml files created by end-users contain the original column captions and therefore end-users would have to manually re-do all of their custom layouts.
Could you please let me know what would be the easiest way of updating custom layout xml files to reflect code changes to column captions?
Best regards,
Adam
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Our layout files do not contain <Caption> nodes. Instead, column captions seem to be represented by values of <Key> nodes. We do not set explicit values to column captions. Their values seem to be determined by the names of fields in a data source to which a given grid is bound. We applied your advice to the <Key> nodes in layout files - their old values are replaced with new ones and a new layout file is saved. This solution works very well.
Thank you for your help.