I have an application using Kendo (2014.2.1008) Grid with AngularJS. It was working fine with Angular 1.2.26 but not with Angular 1.3.
The problem is that the grid is taking more vertical space than it should, and it visually overlaps with HTML elements below the grid.
The grid should have a height of 500px:
<div kendo-grid
k-data-source="vm.searchResults"
k-sortable="true"
k-columns="[
{'field': 'dateDue', width:'90px', 'title': 'Date due', template:'#=kendo.toString(kendo.parseDate(dateDue),"yyyy-MM-dd")#' },
//...
]"
style="width:980px; height: 500px" id="searchResultsGrid">
</div>
I noticed the following differences between the HTML rendered when using Angular 1.2.26 and the Angular 1.3:
Angular 1.2.26:
<div class="k-grid-content" style="height: 469px">
<table role="grid">
...
Calling $(".k-grid-content").height() in the JavaScript console returns 469
Angular 1.3:
<div class="k-grid-content"> <!-- no height specified -->
<table role="grid">
...
Calling $(".k-grid-content").height() in the JavaScript console returns 606, which would explain the overlap with HTML elements below the grid.
Calling $(".k-grid-content").height(469) fixes the visual overlap problem.
Any ideas why would the grid render to different HTML when using Angular 1.3 instead of 1.2.26?
Has Kendo been tested with Angular 1.3, is there an expected date for a version that should support it?
The problem is that the grid is taking more vertical space than it should, and it visually overlaps with HTML elements below the grid.
The grid should have a height of 500px:
<div kendo-grid
k-data-source="vm.searchResults"
k-sortable="true"
k-columns="[
{'field': 'dateDue', width:'90px', 'title': 'Date due', template:'#=kendo.toString(kendo.parseDate(dateDue),"yyyy-MM-dd")#' },
//...
]"
style="width:980px; height: 500px" id="searchResultsGrid">
</div>
I noticed the following differences between the HTML rendered when using Angular 1.2.26 and the Angular 1.3:
Angular 1.2.26:
<div class="k-grid-content" style="height: 469px">
<table role="grid">
...
Calling $(".k-grid-content").height() in the JavaScript console returns 469
Angular 1.3:
<div class="k-grid-content"> <!-- no height specified -->
<table role="grid">
...
Calling $(".k-grid-content").height() in the JavaScript console returns 606, which would explain the overlap with HTML elements below the grid.
Calling $(".k-grid-content").height(469) fixes the visual overlap problem.
Any ideas why would the grid render to different HTML when using Angular 1.3 instead of 1.2.26?
Has Kendo been tested with Angular 1.3, is there an expected date for a version that should support it?