jQWidgets Forums

jQuery UI Widgets Forums Grid How can I set max/min width in Grid/DataTable Columns

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

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

  • aminul
    Participant

    Hello,

    I am developing a web application where I have to make response Grid/Datatable. I can do it setting width as % (10%, 12%,30% etc). We can do this in specific number of columns. But I don’t know how many columns in my grid/datatable, The columns number will be dynamic as our setting files. So columns size can be 5 columns to 23 columns. And also I have to set fixed width of some columns like Flag, Code(4 digit) etc. I looked around the jqwidget but I didn’t found any solution for this problem. and I also looked that we can do this by settings max/min width of Columns, But there is no way to set max/min width in grid/datatable.

    Anyone help me please.

    Thanks
    Aminul


    Nadezhda
    Participant

    Hello Aminul,

    You can use ‘minwidth’ and ‘maxwidth’ properties for Grid Columns or ‘minWidth'(25 by default) and ‘maxWidth’ for DataTable Columns.

    Best Regards,
    Nadezhda

    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.