Results 1 to 2 of 2

Thread: Grid - ability to save user changes to backend?

  1. #1
    Ext User
    Join Date
    Mar 2008
    Posts
    24
    Vote Rating
    0
      0  

    Question 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 Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,048
    Vote Rating
    183
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •