-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnDemandGrid does not load additional rows when grid height gets bigger and therefore more rows could be displayed #361
Comments
Set minRowsPerPage and/or maxRowsPerPage before adjusting the height of the dgrid. |
Thanks for your answer Tom! like this: require(["dojo/dom-style"], function(domStyle){
myGridInstance.set("minRowsPerPage", 30);
domStyle.set("grid", "height", "1000px");
}); I see no difference |
I'm not sure if .set will work, since I am using an older pre-beta version of dgrid. But I'd suggest cranking that number up and seeing if that helps at all. I know I'm able to do this directly with the older version of dgrid (and in fact wrote a custom extension to expand or contract the height of a dgrid on the fly)... |
Whoops. Didn't mean for that to close this, I guess github saw "resolves blah" and didn't care about the "partially". This is a legit issue; however, keep in mind that any time you directly change the dimensions of the grid, you're going to have to call This fixes the issue in most cases, by calling |
…ing to stop. In cases where the first/top preload node was visible but empty, the second/bottom one was not being processed. The top one had to be scrolled beyond the buffer limit before the second one was processed.
…ing to stop. In cases where the first/top preload node was visible but empty, the second/bottom one was not being processed. The top one had to be scrolled beyond the buffer limit before the second one was processed.
Open test
Make height of grid bigger by executing
Grid still displayes only 25 rows even if there is space for more.
The text was updated successfully, but these errors were encountered: