How to use the slickgrid.Group function in slickgrid

To help you get started, we’ve selected a few slickgrid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bokeh / bokeh / bokehjs / src / lib / models / widgets / tables / data_cube.ts View on Github external
rows.forEach((row) => {
      const value = this.source.data[getter][row]
      let group = groupsByValue.get(value)

      if (!group) {
        const groupingKey = parentGroup ? `${parentGroup.groupingKey}${this.groupingDelimiter}${value}` : `${value}`
        group = Object.assign(new Group(), {value, level, groupingKey}) as any
        groups.push(group!)
        groupsByValue.set(value, group!)
      }
      group!.rows.push(row)
    })