6.3.6.2.1. paletteGrid

Last page update: November 23, 2011

Note

paletteGrid features:

6.3.6.2.1.1. definition

GnrDomSrc_dojo_11.paletteGrid(paletteCode=None, struct=None, columns=None, structpath=None, datapath=None, **kwargs)

Return a paletteGrid

Parameters:
  • paletteCode – create the paletteGrid nodeId (if no gridId is defined) and create the paletteGrid datapath (if no datapath is defined)
  • struct – the name of the method that defines the struct
  • columns – it represents the columns to be returned by the “SELECT” clause in the traditional sql query. For more information, check the columns section
  • structpath – TODO
  • datapath – allow to create a hierarchy of your data’s addresses into the datastore. For more information, check the datapath and the datastore pages
  • kwargs

    in the kwargs you find:

    • dockButton: boolean. if True, TODO
    • grid_filteringGrid: the path of the grid that handle the struct. For example, in the TableHandler component the standard path for a grid is th.view.grid
    • grid_filteringColumn: allow the sincronization between the choosen columns and the not choosen ones (so, if user drag a column in a grid, then this column doesn’t appear anymore in the palette)

      The syntax is:

      grid_filteringColumn='id:COLUMN'
      

      Where COLUMN is the name of a column TODO

    • title: the title of the paletteGrid

Table Of Contents

Previous topic

6.3.6. palettes

Next topic

6.3.6.2.2. paletteGroup

This Page