I've noticed that when I create a grid where scrollable is true (or default) and the height is not specified that the progress indicator is not visible. However, if I change the _progress function on the Grid to look like the following, the indicator is displayed and hidden as expected, regardless of whether/how scrollable or height is specified.
From what I can tell, this produces the expected results in each scenario I've tested. Considering pull requests are not accepted for the Grid, I was wondering if someone can review this and, if acceptable, include in the next release.
_progress:
function
(toggle) {
var
element =
this
.element;
if
(
this
.lockedContent) {
element =
this
.wrapper;
}
else
if
(
this
.element.is(
"table"
)) {
element =
this
.element.parent();
}
else
if
(
this
.content &&
this
.content.length) {
element =
this
.content.height() === 0
?
this
.content.parent()
:
this
.content;
}
kendo.ui.progress(element, toggle);
}
From what I can tell, this produces the expected results in each scenario I've tested. Considering pull requests are not accepted for the Grid, I was wondering if someone can review this and, if acceptable, include in the next release.