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
455
Cannot persist some XamGrid settings when custom Column added
posted

We have a XamGrid where we have added an additional custom column. The column simply contains a checkbox. If the user checks the checkbox, it indicates they want to perform an action on that row. It's based on this:

http://es.infragistics.com/community/forums/p/52125/271646.aspx

This all works fine, except when we attempt to persist the XamGrid settings. Some things work. Sort order seems to get persisted correctly, for example, but column moving settings and column hiding settings do not. If we remove this column, the grid saves everything correctly.

I noticed that when we do not include the column, MemoryStream contains 822517 bytes after PersistenceManager.Save. When we include the column, the stream is only 263782 bytes. Clearly, something pretty significant is not getting saved, but it's not clear what. I can't seem to get any exceptions to fire. How am I supposed to troubleshoot this?

I am using version 13.1.20131.1003.

Parents
No Data
Reply
  • 22015
    posted

    Hello jbaumgartner,

     

    Thank you for your post!

     

    I have been looking into it, currently the XamGrid has a build-in functionality for the custom column you have mentioned. The xamGrid has a CheckboxColumn, that you can use to show checkboxes in the grids cells. On the following link from our documentation you can find more information about this column: http://help.infragistics.com/Help/Doc/Silverlight/2014.1/CLR4.0/html/InfragisticsSL5.Controls.Grids.XamGrid.v14.1~Infragistics.Controls.Grids.CheckBoxColumn~_ctor.html.

     

    I have created a small sample application for you to show you this type of column. Please find the attached sample application and feel free to let me know if you have any further questions on this matter.

    Grid_CheckboxColumn.zip
Children