jQuery UI Widgets Forums DataTable Is this a bug?

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Is this a bug? #51571

    dqninh09@gmail.com
    Participant

    Hi,

    I have used a jqxDataTable to display a list of records. Within my application, most of the time, the table has only 0 – 10 records to be displayed. I set the height of the datatable to auto, and it works fine 95% of the time.

    The 5% that does not work correctly is that when the table is empty. If there is no record to display, the table automatically expands the height to about 50% of the height of the screen, with the message “No data to display”

    Is there a way to tell it to reduce the height to about 1, or 2 rows?

    Thanks.

    Is this a bug? #51573

    Peter Stoev
    Keymaster

    Hi dqninh09,

    The widget’s height is specified by the height property. If you set it, it will be fixed or fluid depending on whether you set it to Number or Percentage. I suggest you to set it, otherwise the widget will automatically determine its best Height.

    Best Regards,
    Peter Stoev

    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.