Getting error when trying to increase the column width

6 posts, 0 answers
  1. Hema
    Hema avatar
    20 posts
    Member since:
    Jul 2015

    Posted 09 Mar Link to this post

    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.
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 12 Mar Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Hema
    Hema avatar
    20 posts
    Member since:
    Jul 2015

    Posted 16 Mar in reply to Kiril Nikolov Link to this post

    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>

     

     

  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 17 Mar Link to this post

    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!
     
  6. Vi Le
    Vi Le avatar
    11 posts
    Member since:
    May 2009

    Posted 03 Oct in reply to Kiril Nikolov Link to this post

    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

  7. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    347 posts

    Posted 05 Oct Link to this post

    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.
Back to Top
Kendo UI is VS 2017 Ready