Wijmo Flex grid - Display message id no data available

Posted by: sbanerjee on 21 November 2017, 11:43 pm EST

    • Post Options:
    • Link

    Posted 21 November 2017, 11:43 pm EST

    Hello Team,

    We’re using wijmo flex grid and want to add a message to the grid if there’s no data in the data source. Please let us know how we can do that, If there’s any direct approach.

    Thank you in advance.

    -Srashti

  • Posted 22 November 2017, 7:40 pm EST

    Hi Srashti,

    You can add div with text “No data available” if CollectionView sourceCollection is null. Please refer to the fiddle for the same.

    http://jsfiddle.net/Wijmo5/h23w5emj/

    You may also add a row by setting allowMerging to true and set cell data to message you would like to display using setCellData method.

    ~Manish

  • Posted 21 February 2019, 1:05 am EST

    Hi Manish,

    Can you provide a sample for showing “No data available” by adding a merged row using setCellData.

    Thanks.

  • Posted 21 February 2019, 4:39 pm EST

    Hi,

    Please refer to the following sample demonstrating the same:

    https://stackblitz.com/edit/js-ejmvmt?file=index.js

    ~Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels