Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the tabular view in question in translate5
  2. Adjust its configuration in a way that it suits your needs
  3. Open the console in Firefox or Chrome by pressing F12
  4. Grid configuration
    • Get configuration string for multiple grids by executing the following function (the output of this function will be ready to use grid configuration string):
        -
        • Editor.app.getGridState();
          (be careful: if the result gives back configurations other than #adminUserGrid and #adminTaskGrid, you have to delete them from the result before applying it to the database, because so far only these 2 grids are supported for DB configuration)
      • Query single grid configuration by executing one of the following queries in the console:
          - For
          • For the user management table: Ext.ComponentQuery.query('#adminUserGrid')[0].getState();
          -
          • For the task management table: Ext.ComponentQuery.query('#adminTaskGrid')[0].getState()
      • Copy the result and reformat it in a way that it fits the code example shown below
      • Open the database table Zf_configuration for editing and search for the row where name = "runtimeOptions.frontend.defaultState".
      • Set the value of this row to a JSON object analogous to the example shown below

...