Widgets
Samples
Demos
Forum
Services
Documentation
group
ungroup
Start
API Reference
Mixins
GroupStore
Methods
group
groups data
void
group
(
object
config
, [
string
target
] );
config
object
object with group settings: 'by' and 'map' parameters
target
string
the ID of the brach for multiple grouping
Example
$$
(
"mychart"
)
.
group
(
{
by
:
"year"
,
map
:
{
sales
:
[
"sales"
,
"max"
]
}
}
)
;
Related samples
Grouping
Treetable: Multiple Grouping
See also
API
ungroup
Articles
Grouping Data Items
Back to top