Skip to content

Release 4.15.0

Choose a tag to compare

@github-actions github-actions released this 01 Apr 22:30

What's Changed

  • breaking change: advance grouping template by @revolist in revolist/revogrid#729
  • grouping templates now applied to all dimensions not to the one with expand only, users will have to update their templates accordingly
  grid.grouping = {
    props,
    expandedAll,
    prevExpanded: { 'a': true, 'a,c': true },
    groupLabelTemplate(createElement, { name, depth, expanded, providers }) {
      if (providers.colType !== 'rgCol') return;
      return createElement('span', null, `${expanded ? '-' : '+'} ${props[depth]}: ${name}`);
    },
  };

Full Changelog: revolist/revogrid@v4.14.14...v4.15.0