EDIT:
I have been debugging and found the the content area height is being set to 1 pixel less than the total height.
from kendo.all.js:
_setContentHeight: function() {
var that = this,
options = that.options,
height = that.wrapper.innerHeight(),
header = that.wrapper.children(".k-grid-header"),
scrollbar = kendo.support.scrollbar();
if (options.scrollable) {
height -= header.outerHeight();
.....
the header.outerHeight() is returning 1 when it should be returning 41 or so for this particular grid. not sure whats going on, I will try and get a jsfiddle up and running.
Regards,
jimm
I have found some odd behavior when trying to create a grid.
please see the attached files in order:
First: notice the grid content height is shorter than the actual displayed content. this grid is created by calling .kendoGrid() on an html table.
CODE:
$('.ToKendoGrid').kendoGrid({ scrollable: false });
$('.ToKendoGridScroll').kendoGrid({ scrollable: true, height: 325 });
the html table is created via partial mvc views and when not kendo gridified it looks correct.
Second I have changed what is displayed on the current tab by changing the dropdown list to only show a specific set of information.
Third I have gone back to all information and the grid is now displaying correctly.
Thoughts?
Regards,
jimm
One a side note I tried to submit this request through chrome and the file upload feature did not display correctly.
I have been debugging and found the the content area height is being set to 1 pixel less than the total height.
from kendo.all.js:
_setContentHeight: function() {
var that = this,
options = that.options,
height = that.wrapper.innerHeight(),
header = that.wrapper.children(".k-grid-header"),
scrollbar = kendo.support.scrollbar();
if (options.scrollable) {
height -= header.outerHeight();
.....
the header.outerHeight() is returning 1 when it should be returning 41 or so for this particular grid. not sure whats going on, I will try and get a jsfiddle up and running.
Regards,
jimm
I have found some odd behavior when trying to create a grid.
please see the attached files in order:
First: notice the grid content height is shorter than the actual displayed content. this grid is created by calling .kendoGrid() on an html table.
CODE:
$('.ToKendoGrid').kendoGrid({ scrollable: false });
$('.ToKendoGridScroll').kendoGrid({ scrollable: true, height: 325 });
the html table is created via partial mvc views and when not kendo gridified it looks correct.
Second I have changed what is displayed on the current tab by changing the dropdown list to only show a specific set of information.
Third I have gone back to all information and the grid is now displaying correctly.
Thoughts?
Regards,
jimm
One a side note I tried to submit this request through chrome and the file upload feature did not display correctly.