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
120
Grid Expansion
posted

I have two grids both with FlatDataSources. Both will always have the same columns and I need to copy the column expansion states for the first grid to the second grid. So if columns x,y,z are expanded on the first grid, I need to likewise expand them on the second.

I don't want to expand everything, just what is expanded in the first grid. When I found the following post:

http://ko.infragistics.com/community/forums/t/42915.aspx

It seemed to be exactly what I needed. However, using the row header method(as someone stated) doesn't work(since it only gets the first level), and now the filterViewModel approach no longer works since 11.2(as others stated). So how would I go about doing such a behavior?

  • 138253
    Offline posted

    Hello Ryan,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Ryan,

    Thank you for your post. I have been looking into it and I can suggest you use the ExpandToLevelAsync method that the DataSourceBase class exposes. You can see a sample demonstrating how to use this method here:

    http://ko.infragistics.com/samples/silverlight/pivot-grid#/expand-and-collapse-hierarchies

    Let me know if this is the functionality you want to achieve or if you need any further help.

    Looking forward for your reply.