Docs
API
  • grouping

    Object

    Grouping rows.

    It is used for row grouping data by index(key) values.

    Example

    
    grouping: {
      by: 'model',
      collapsed: true
    },
    

    Example: Row text template

    
    new FancyGrid({
      ...
      grouping: {
        by: 'model',
    	tpl: 'Kia {text}:{number}'
      },
      ...
    

    Param tpl is group row text template.
    For template it is avaliable 2 property: text and number.

    Default

    
    undefined