fires before grouping of data has started
Usageâinterface IGroupConfig {
showMissed?: boolean | string; // true by default
field?: string; // "group" by default
}
beforeGroup: (config: IGroupConfig) => boolean | void;
Parametersâ
config
- the configuration object used for data grouping
showMissed
- (optional) specifies whether the elements that don't have the field for grouping should be displayed, true by default
field
- (optional) the group field name, "group" by defaultReturn false
to prevent data grouping; otherwise, true
.
Example
component.data.events.on("beforeGroup", (config) => {
console.log("Grouping starts:", config);
return true; // continue grouping
});
Change log:
added in v9.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4