Skip to content

Plugins disappear after updating config. #1260

@somegooser

Description

@somegooser

Hi,

Im trying to update the pagination limit but the custom plugins i added before disappear after updateConfig * forceRender:


let pn = {
      enabled: true,
      limit: this.getPerPage(),
      summary: true,
      server: {
          url: (prev, page, limit) => `${prev}&current_page=${page+1}`
      }
  };

  grid.updateConfig({pagination: pn});
  grid.forceRender();

it also does not matter what i put in the updateConfig as value. All the plugins will disappear. How can i fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug fixSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions