Hi all,
We have a very curious layout bug in one of our pages.
We have a grid with grouping that on certain undefined circumstances is shrinked and displayed within the half of the page (see screenshot)
The collegue that did this page (and is currently not in the project any more) wanted the groups to be collapsed initially and wrote a function that goes like this:
We have a very curious layout bug in one of our pages.
We have a grid with grouping that on certain undefined circumstances is shrinked and displayed within the half of the page (see screenshot)
The collegue that did this page (and is currently not in the project any more) wanted the groups to be collapsed initially and wrote a function that goes like this:
function CollapseAll(event) {
var tableView = $find('<%=RadGrid1.ClientID %>').get_masterTableView();
var rows = tableView.get_element().rows;
for (var i = 0, len = tableView.get_element().rows.length; i < len; i++) {
var button = tableView._getGroupExpandButton(rows[i]);
if (button) {
var groupLevel = button.id.split("__")[2];
if (groupLevel == 0) {
tableView._toggleGroupsExpand(button, event);
}
}
}
}
We have tried to turn off the function, but it still is displayed the same way.
When testing local - it works fine.
Any help regarding this will be very appreciated.
Thank in advance!