jQWidgets Forums

jQuery UI Widgets Forums Grid Show empty rows without the virtual mode.

This topic contains 4 replies, has 2 voices, and was last updated by  williamtourinho 12 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Show empty rows without the virtual mode. #12884

    williamtourinho
    Participant

    It is possible to show the empty row’s without the virtual mode property set to true?
    Can you say a way to make that effect possible without the virtual paging and virtual scrolling?
    Thank you.

    Show empty rows without the virtual mode. #12897

    Peter Stoev
    Keymaster

    Hi williamtourinho,

    If your data source is empty, the Grid will display “No data to display” message.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Show empty rows without the virtual mode. #12927

    williamtourinho
    Participant

    Hi Peter,
    My question is: When the source has, for example, 4 items and the grid height is not auto the lines of the grid after that first 4 rows will not be alternate.
    Imagine a grid with:

    height: 700px,
    altrows: true,
    source: mysource // the source have 4 rows

    In this situation the “altrows” will work for the first 4 rows/div, but for the rest of the div’s (the div’s without data) the “altrows” property will not work.
    When the virtual mode is true, you can set the property “showemptyrow” to true, but when virtual mode is false, the empy rows will not appear.

    Thanks for the feedback.

    Show empty rows without the virtual mode. #12953

    Peter Stoev
    Keymaster

    Hi williamtourinho,

    When you have 4 rows and multiple empty rows, alternating will be only your data rows. I think you misunderstood what is the purpose of “showemptyrow”. “showemptyrow” is a message displayed when there are 0 rows in the Grid and by setting this option to true, the Grid will display “No data to display” message. Otherwise, it will display just empty rows without data.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    williamtourinho
    Participant

    Ok Peter, Thank you.

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

You must be logged in to reply to this topic.