Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Pinned Columns not being repinned on data reload
posted

We're using a Xamdatagrid and storing our customization XML in a database for persistence. We have "AllowFixing" set to "Near" on our xamdatagrid.FieldSettings. When a user pins a column, the column is moved to the front, as expected, the pin widget appears pinned, and the appropriate separator bar appears between the pinned column and all of the other columns.

When the user restarts the application and reloads their data, however, the pin widget appears unpinned and the separator bar is gone. The underlying customization XML is intact and contains a FixedLocation="FixedToNearEdge" attribute. The column itself remains in the pinned location on the grid, it is simply no longer pinned. What additional steps do we need to take to make sure we can persist pinned columns? How do we set the pin widget to "pinned"?