Results 1 to 2 of 2

Thread: Stateful grid: Custom applyState function leads to "Maximum call stack size exceeded"

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    24
    Answers
    1

    Default Stateful grid: Custom applyState function leads to "Maximum call stack size exceeded"

    Hello,

    I wnat to achieve a "custom" statefulness for grids by using "reconfigure" inside an extended applyState function, as seen in this example:

    https://stackoverflow.com/questions/...igure-in-extjs

    This worked well in ExtJs 5, but leads to a "Maximum call stack size exceeded" error in ExtJs 6.6

    Basically, the "reconfigure" function checks if the grid is stateful, if it is, it calls "applyState"

    in the ExtJs source, it looks like this:

    Code:
    if (me.stateful) {
                stateId = me.getStateId();            
                state = stateId && Ext.state.Manager.get(stateId);
                if (state) {
                    me.applyState(state);
                }
            }
    How can I achieve custom statefulness via reconfigure?

  2. #2
    Sencha User
    Join Date
    Oct 2018
    Location
    Noida
    Posts
    67
    Answers
    10

    Default

    can you provide fiddle for your scenario ?

Posting Permissions

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