jQuery UI Widgets Forums Grid disable "No data to display" message

This topic contains 2 replies, has 2 voices, and was last updated by  shrayasr 9 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • disable "No data to display" message #60926

    shrayasr
    Participant

    Hi,

    I’m looking to build a grid that starts off with blank rows, and then when the data comes in I will update the source accordingly.

    Right now, If i do not associate a source to the grid, It shows a “No data to display” message. Is there a way I can disable that and have it display empty rows instead?

    Y’all have done great work with the widgets. Kudos!

    disable "No data to display" message #60936

    Dimitar
    Participant

    Hello shrayasr,

    If you set the property showemptyrow to false, the message will no longer be displayed. However, there is no way to automatically display empty rows instead. You may add some manually with the addrow method like so:

    $('#jqxGrid').jqxGrid('addrow', rowid, {});

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    disable "No data to display" message #60937

    shrayasr
    Participant

    Ah, I see. I think i’ll settle with setting showemptyrow to false for now.

    Thanks a lot for the speedy reply 🙂

    Best Regards,
    Shrayas

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

You must be logged in to reply to this topic.