jQWidgets Forums

jQuery UI Widgets Forums DataTable Jqxdatatable

This topic contains 5 replies, has 2 voices, and was last updated by  dqninh09@gmail.com 11 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Jqxdatatable Posts
  • Jqxdatatable #48545

    dqninh09@gmail.com
    Participant

    Hi All,

    Can/how jqxdatatable be configured/set so that:

    1. one of its’ columns will fill up the remaining width.
    2. increase/decrease the size of the filter box.

    Thanks.

    Jqxdatatable #48554

    Peter Stoev
    Keymaster

    Hi dqninh09,

    1. If you do not set the column’s width, it will fill the remaining space.
    2. Unfortunately, there’s no option for that.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Jqxdatatable #48644

    dqninh09@gmail.com
    Participant

    Thanks Peter. It works. Simple but never thought about.

    How about the jqxDataTable itself. If I leave the width undefined, it does not fill the width of its parent.

    Jqxdatatable #48654

    Peter Stoev
    Keymaster

    Hi dqninh09,

    To achieve that, set its width to “100%” as shown on our mobile demos about jqxDataTable.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Jqxdatatable #48707

    dqninh09@gmail.com
    Participant

    I set the width: 100% before (and just tried it again), and the data table failed to display due to an error. Can you give me the link to the demo that used 100%?

    Thanks.

    // This works
    $(“#dataTable”).jqxDataTable(
    {
    width: 1140,
    source: dataAdapter,
    …..

    // This failed
    $(“#dataTable”).jqxDataTable(
    {
    width: 100%,
    source: dataAdapter,

    Jqxdatatable #48708

    dqninh09@gmail.com
    Participant

    Never mind. It’s my bad. Width: ‘100%’ works. I forgot to put the value between the quotes.

    Thanks.

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

You must be logged in to reply to this topic.