This is a migrated thread and some comments may be shown as answers.

Getting error when trying to increase the column width

5 Answers 59 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Hema
Top achievements
Rank 1
Hema asked on 09 Mar 2016, 10:13 PM
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

Sort by
0
Kiril Nikolov
Telerik team
answered on 12 Mar 2016, 08:07 AM
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
 
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
Kiril Nikolov
Telerik team
answered on 17 Mar 2016, 08:56 AM
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
 
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
Dimiter Topalov
Telerik team
answered on 05 Oct 2016, 12:39 PM
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
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
Spreadsheet
Asked by
Hema
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Hema
Top achievements
Rank 1
Vi Le
Top achievements
Rank 1
Dimiter Topalov
Telerik team
Share this question
or