Our pure JavaScript Scheduler component

Post by jeffrey1994 »

We want to show summaries even when the group is collapsed so our customer can quickly see if any events are planned on a particular day per group.

Is it possible to show the group summary in the group row when collapsed like shown in the image below?

header.png (9.61 KiB) Viewed 1498 times

We can place text in the header as far as I know, but then we would need to create our own cells matching the viewpreset header?

Post by alex.l »

Hi jeffrey1994,

Unfortunately it is not supported now, and cannot be easily extended, but I've created a feature request: https://github.com/bryntum/support/issues/1758

ViewPresetHeaderRow does have a renderer https://bryntum.com/docs/scheduler/#Scheduler/preset/ViewPresetHeaderRow#config-renderer
but this is header for a whole grid, not for a group.

The thing you can play with, is a https://bryntum.com/docs/scheduler/#Grid/column/Column#config-groupRenderer
You could put some extra info in there. Check our examples: https://bryntum.com/examples/grid/grouping/

    columns : [
            type          : 'number',
            text          : 'Age (custom)',
            field         : 'age',
            align         : 'right',
            width         : 120,
            min           : 1,
            groupRenderer : ({ groupRowFor, count }) => `Age ${groupRowFor} (${count})`  // show some summary info here

All best,

All the best,

Post by max@medinet.se »


We would be interested in this functionality and want it developed. We understand that it would cost money so we want to sponsor it. Is it possible?

Post by mats »

We'll reply to you via email!

Post Reply