jQWidgets Forums

jQuery UI Widgets Forums Grid Grid width

This topic contains 2 replies, has 2 voices, and was last updated by  Pfhoenix 8 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Grid width Posts
  • Grid width #85914

    Pfhoenix
    Participant

    I have my grid being the full width of its container. I’d really like all the columns to start out at their full size by their widest value. Is this doable without hardcoding column widths?

    Grid width #85922

    Dimitar
    Participant

    Hello Pfhoenix,

    This can be achieved by calling the method autoresizecolumns in the ready callback function of your grid.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Grid width #85945

    Pfhoenix
    Participant

    Setting ‘autoresizecolumns’ worked once I set widths in the column definitions first.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.