isGrouped()
checks whether a data collection is grouped at the moment
isGrouped(): boolean;
Returns:
true
, if the data is grouped; otherwise, false
.
Example
if (component.data.isGrouped()) {
console.log("The data is currently grouped");
}
Change log:
added in v9.0