I am getting an error like " kendo.all.min.ext:79 Uncaught TypeError: Cannot read property '_grid' of undefined" when I tried to increase the size of the column directly . However, when I first clicked on the spreadsheet ( it adds the scrollbar ) and then increased the column size , I didn't get that error . Please advice.
5 Answers, 1 is accepted
0
Hi Hema,
I have tried to reproduce the issue in the online demos, but to no avail. Can you please provide directions how to reproduce the issue, so we can further assist you?
Thanks!
Regards,
Kiril Nikolov
Telerik
I have tried to reproduce the issue in the online demos, but to no avail. Can you please provide directions how to reproduce the issue, so we can further assist you?
Thanks!
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Hema
Top achievements
Rank 1
answered on 16 Mar 2016, 07:56 PM
Kiril,
I found that the reason I am not seeing scrollbars is because I set the height property to calc(100% - 5px) . if I remove the height property , I can see the scrollbars . If I set the height property to say like 100%, this issue happens. Is it not possible to set the height of the spreadsheet widget in % ? Please advice.
<div id="spreadsheet" style="width: 100%;height :100%"></div>
0
Hi Hema,
It looks like a bug that we need to fix. I have logged it in our internal bug tracker for further investigation.
Thanks for reporting it.
Regards,
Kiril Nikolov
Telerik
It looks like a bug that we need to fix. I have logged it in our internal bug tracker for further investigation.
Thanks for reporting it.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Vi Le
Top achievements
Rank 1
answered on 03 Oct 2016, 10:02 PM
Hi, has this issue been fixed in the latest kendo version? I am still getting it in the 2016.1.112 version. Setting the height on the kendoSpreadsheet element to 100% causes an error.
See fiddle for example: https://jsfiddle.net/wpatter6/uwc806tc
0
Hi Vi,
The current Kendo UI version is 2016.3.914.
As for the 100% height issue, web standards require elements with a percentage height to have a parent with an explicit height.
The rule applies recursively until an element with a pixel height is reached, or the root <html> element is reached. In the latter case the body and html elements need a 100% height style as well. 100% high elements cannot have margins, paddings, borders, and siblings.
http://dojo.telerik.com/OjaReq
https://jsfiddle.net/uwc806tc/2/
I hope this helps.
Regards,
Dimiter Topalov
Telerik by Progress
The current Kendo UI version is 2016.3.914.
As for the 100% height issue, web standards require elements with a percentage height to have a parent with an explicit height.
The rule applies recursively until an element with a pixel height is reached, or the root <html> element is reached. In the latter case the body and html elements need a 100% height style as well. 100% high elements cannot have margins, paddings, borders, and siblings.
http://dojo.telerik.com/OjaReq
https://jsfiddle.net/uwc806tc/2/
I hope this helps.
Regards,
Dimiter Topalov
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.