autoFitColumns only works with Grid footer?

2 posts, 0 answers
  1. Tanguy Detroz
    Tanguy Detroz avatar
    18 posts
    Member since:
    Sep 2006

    Posted 18 Jul 2017 Link to this post


    we have noticed that the autoFitColumn(column) method of the Grid only works properly if the Grid displays a footer.

    The autoFitColumn does a Math.max on the outerWidth of the column's header, body and footer, but if no footer is available, the Math.max return NaN, thus breaking the autoFitColumn correct behavior.

    Is it possible to correct this?

    Kind regards


  2. Preslav
    Preslav avatar
    591 posts

    Posted 20 Jul 2017 Link to this post

    Hello Tanguy,

    I was not able to replicate the described faulty behavior. Please check my testing Dojo:
    That said, in order to continue my investigation, could you please modify the above Dojo so it replicates the problem. After that, share the new Dojo with your next post.

    I look forward to hearing from you.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top