Author Topic: Auto Width Grid?  (Read 2135 times)

rsordillo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 6
    • View Profile
Auto Width Grid?
« on: November 09, 2015, 05:54:22 am »
Greetings,

I've run into a small issue regarding the "auto width" of the grid when the total width of the columns is smaller than the grid itself thus leaving a large gap after the last column. It can relally look ugly with a small grid and a wide page. This is from http://jsfiddle.net/6gxjb0hv/7/



Although setting the initialization variable "width:'flex'" fixes this and makes for a nice looking grid, it creates another issue of killing any horizontal scrolling and extends the grid off the edge of the page or parent div element.

Is there a way, either now or in the next release, to have the grid width adjust automatically to the proper size without overflowing past the parent container or webpage and maintain the ability to scroll?

Regards,
Steve

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Auto Width Grid?
« Reply #1 on: November 09, 2015, 01:46:12 pm »
Steve

Support for maxWidth option ( similar to maxHeight option ) seems to be the fix for this. It would be added in the next version if found feasible, thanks for your feedback.


Regards