When saving grid customization by using SaveCustomizations() everything is saved except of field width. Why this could happen?
I've found that field width isn't saved only when I have this style for LabelPresenter:
<Style TargetType="igDP:LabelPresenter"> <EventSetter Event="SizeChanged" Handler="OnFieldSizeChanged"/> </Style>
Need it because I want to track field width to synchronize it with the second grid. Do I break something with this style?
I've found even more precise condition when it's happening - when field width is set in the code.
You can try to use an example from this thread: http://community.infragistics.com/forums/p/53090/276218.aspx Try to adjust width of a field and then try to save customization. There will be no 'cellWidth' or 'labelWidth' attributes for the 'field' element.
Hello,
I am just checking if you were able to resolve your issue. Please let me know if there is anything I can help with on this issue.
Save customization saves only the end user changes. We internally track the end user changes and setting the width etc. directly is not considered a customization. When width etc is set then we clear the customization, that is the reason width does show up in the customization string.
Please read more information on Saving Customization using the link below.
Save Field Customizations