Pending Review
Last Updated: 01 Dec 2026 13:53 by Paul
Paul
Created on: 01 Dec 2026 13:53
Category: Grid
Type: Feature Request
0
Improve options for setting grid column widths

Currently, the grid column width only accepts a number (in pixels) for the width. The min and max resizable widths also only seem to apply if column resizing is enabled (which may not be desired).

What would be better is for

  1. The width property to accept a number or string, as I believe is possible in the jQuery grid. This would allow for widths in percentages, or other units.
  2. There to be min and max width settings which can always apply to the column

This would allow for a reasonably common scenario where (for example) on a screen with lots of space you want three columns to take up 10%, 60% and 30% of the available width. However, on smaller screens, or if the grid is resized, then they should go no smaller than 100px, 300px and 150px, and show a horizontal scrollbar if they exceed the available width. This would often be to ensure the legibility of headers, text and buttons etc. in mobile view.

At the very least, having min and max widths as numeric options would improve things considerably for responsive design.

0 comments