1. #1
    Ext User
    Join Date
    Mar 2008
    Posts
    24
    Vote Rating
    0
    vk214 is on a distinguished road

      0  

    Question Grid - ability to save user changes to backend?

    Grid - ability to save user changes to backend?


    Hi, I'm looking into using the ext library for my application... One thing I'll need to do is save the user's configuration changes on any report grids and then have the ability to load the report grid with those same configuration options - but with dynamic data.

    My question - is it possible to save the changes that the user makes to the grid? ie, if the user changes the column ordering, sorting, or group by columns - can those preferences be saved easily? Has anyone done this?

    Thanks in advance.

  2. #2
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,761
    Vote Rating
    108
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    If cookies are ok in your app then you're all set.

    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

    This line saves the state of your grid (don't think it applies to grouping though). Check this post as well:

    http://extjs.com/forum/showthread.ph...t=groupingview

Thread Participants: 1