jQWidgets Forums

jQuery UI Widgets Forums Grid Columns width with columnsresize set true is not same for all columns

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 9 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • amitsaha
    Participant

    I have an issue with resize of column say I have 4 columns and the grid’s width is set to 100%.
    I want all the columns to have same width when page loads so I calculate the width and provide same width to all the columns so that it looks neat.
    Now when I resize one column rest of the columns don’t resize automatically.

    So when i decrease the width of one column rest of the columns don’t increase automatically and the width of grid drops below 100%.
    And when i increase width of one column grid width goes above 100%

    This doesnot happen when I don’t set any fixed width to columns. In that case when I increase or decrease the width rest of the columns adjust accordingly.

    Is there any way to get column width to be same when columnsresize is set true.

    I tried to set same width using “setcolumnproperty” and also while initializing columns.

    If I don’t want to use min width for this as in that case resizing below that width is not hapenning


    Hristo
    Participant

    Hello amitsaha,

    You could set three of columns with width to ‘25%’ and last one will take empty space.
    Please take a look this example: http://jsfiddle.net/gafj80yt/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.