Grid Columns AutoFit

3 posts, 0 answers
  1. Bogdan
    Bogdan avatar
    2 posts
    Member since:
    Feb 2016

    Posted 25 Feb 2016 Link to this post

    Hello,

    I have an issue here with the method 

    autoColumnsFit()
    in
    some_Grid_Element.data("kendoGrid") 

    http://dojo.telerik.com/@bbogdanov/ejUrA/3 here the method is doing what i'm expecting it to do,but 

    when i copy past the same code in Visual Studio 2013 in ASP.NET MVC 5 (C#)  project and run it, the method is doing something really strange : http://prntscr.com/a7sqo0

     

  2. Bogdan
    Bogdan avatar
    2 posts
    Member since:
    Feb 2016

    Posted 25 Feb 2016 in reply to Bogdan Link to this post

    Actually the method is 

    autoFitColumn()

  3. Magdalena
    Admin
    Magdalena avatar
    487 posts

    Posted 26 Feb 2016 Link to this post

    Hi Bogdan,

    I have tested the both scenario, but it renders in the same way in the both. Here is a video as a part of the testing for your reference. Try to test the Grid without any wrapper elements around it. It is possible that it affect to the grid layout.

    Regards,
    Magdalena
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top