I would like to upgrade but at this point it is not possible. What I want to do is have a grid show up as initially collapsed so I have
static onDataGridBound(e) {
var grid = e.sender;
$(".k-grouping-row").each(function (e) {
grid.collapseGroup(this);
});
}
This works just fine.
Then I want to be notified when one of the groupings are expanded so some of the column text is not duplicated so I changed it to
static onDataGridBound(e) {
var grid = e.sender;
$(".k-grouping-row").each(function (e) {
grid.collapseGroup(this);
// While waiting for groupExpand
$("a:first",this).on("mousedown", Gartner.GlobalAgendaTabGrid.grid_detailExpand);
});
}
This works partially in that the function grid_detailExpand gets called when I expand but the group doesn't get expanded. What am I doing wrong?
Thank you.
Kevin