jQWidgets Forums

jQuery UI Widgets Forums Grid fixing static size issue

This topic contains 1 reply, has 2 voices, and was last updated by  Christopher 8 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • fixing static size issue #87364

    walker1234
    Participant

    How can make all the text in the subtype column visible? Here is the JsFiddle. I don’t want to set a specific width for that column as the text size could increase or decrease. Is there a way, it’s possible to make the width of the column according to the largest text in the column or what is the best way to solve this problem?

    fixing static size issue #87402

    Christopher
    Participant

    Hi ,

    The best approach is to set a different “width” on the column that has more text then the others. That won’t affect the text size in the column. It will only make the cells wider enough for all the text to appear.
    “It’s possible to make the width of the column according to the largest text in the column or what is the best way to solve this problem?”
    Sure, but you will have to make a custom function to calculate the longest string in that column and then set the width to that column.

    Best Regards,
    Christopher

    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.