RealGrid2 API
Interface
SummaryTemplateEvent

SummaryTemplateEvent

ColumnSummary template event configuration information

Signature:

export interface SummaryTemplateEvent extends TemplateEvent

Extends: TemplateEvent

Remarks

renderCallback is called when footer or headerSummary is updated.

[Superclass]

TemplateEvent

Example

const footer = column.footer;
footer.template = `<input type='button'>`
footer.templateEvents = {
     selector: `input[type='button']`,
     event: {
         renderCallback(grid, column, summayIndex, summary, element) {
             element.value = summary.value;
         }
     }
}

Properties

PropertyTypeDescription
renderCallbackSummaryTemplateCallbackSince it is called frequently, it may degrade performance when performing time-consuming tasks.

Properties Desc

renderCallback

Since it is called frequently, it may degrade performance when performing time-consuming tasks.

Type - SummaryTemplateCallback