jQWidgets Forums

jQuery UI Widgets Forums Grid grid size

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    grid size Posts
  • grid size #53297

    jccompagnon
    Participant

    so we did set our grid to 100% and we did NOT set size on columns.

    some columns are __ large and some other are larger, some are smaller, …

    When nothing is defined, and the grid is set to 100% how is the size of each column defined ?
    Why are some smaller and some bigger ?

    grid size #53300

    Peter Stoev
    Keymaster

    Hi jccompagnon,

    1. If you don’t define a width of a column, the column would be stretched to the remaining space. If you have multiple columns without width, their width would be calculated as a proportion of the remaining size and the header string’s length.
    2. You can set the column’s width either as Fixed or Percentage.

    Best Regards,
    Peter Stoev

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

    grid size #53303

    jccompagnon
    Participant

    Hum, we have no sizes defined but the 100% on the grid width
    I cannot figure out why the Ack Column is so small

    Ack Is Too Small

    Thanks

    PS: would be nice to be able to upload images directly here for help rather than in our own server, … saves on steps 🙂

    grid size #53304

    Peter Stoev
    Keymaster

    Hi jccompagnon,

    You will find the answer if you re-read my previous answer. If you have multiple columns without width, their width would be calculated as a proportion of the remaining size and the header string’s length.

    Best Regards,
    Peter Stoev

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

    grid size #53306

    jccompagnon
    Participant

    Are you saying that this is because the word Ack is just 3 letters ?

    grid size #53316

    Peter Stoev
    Keymaster

    Hi jccompagnon,

    For 3rd time, Yes. If you have multiple columns without width, their width would be calculated as a proportion of the remaining size and the header string’s length.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.