Hello, I have a a Scheduler with multiple summaries in the config object
summary: {
summaries: [
{
label: "summaries1",
renderer: ({ startDate, endDate, events }) => {
return `a value 1`;
},
{
label: "summaries2",
renderer: ({ startDate, endDate, events }) => {
return `a value 2`;
},
},
I also have a summary defined for a column
column: [ {
text: "column name",
field: 'name',
type: 'tree',
// Resize to fit the largest content. Is also triggered when expanding/collapsing a child
autoWidth: true,
renderer: (props) => props.record.data.name,
sum: 'count',
summaryRenderer: ({ sum }) => `${sum} ${sum > 1 ? "test": "tests"`,
}]
I've managed to complety remove summary feature from a custom button by simplfy using
instance.features.summary.disabled = true
and setting it to false to re-enable it.
But I wonder if I could only hide the summaries inside the features part, but still keep the summary froms the columns ?
With pictures, from something like this:
To something like that:
Thank you very much for your answers