Wijmo FlexGrid data rendered completed event

Posted by: raghuvital.ravinuthala on 29 April 2018, 6:12 pm EST

    • Post Options:
    • Link

    Posted 29 April 2018, 6:12 pm EST

    Hi,

    We want to implement some functionality after flex grid rendered completely. I have tried using itemsource changed event but after item source changed “Item formatter” event is triggering.

    Do we have any property or event available to know Grid rendered completely.

    we are using like this



    I have also tried adding

    s.loadedRows.addHandler(function (s, e) { console.log(‘layout updated’); });

    inside the LoadData(s,e) but i don’t see it is triggering.

    s.updatedLayout.addHandler(function (s, e) { console.log(‘layout updated’); });

    “updatedLayout” is showing method undefined.

  • Posted 30 April 2018, 5:11 pm EST

    Hi,

    Could you please let us know what kind of functionality you would like to add after complete FlexGrid rendering?

    The loadedRows event should be handled before assigning data to the FlexGrid.

    **UpdatedLayout

    We are sorry, we are not able to replicate the issue at our end. Please refer to the demo fiddle for the same.

    http://jsfiddle.net/QNb9X/918/

    Please let us know if you have any further queries.

    ~Manish

  • Posted 3 December 2018, 2:36 am EST

    Hi, we also need a gridRendered event or something similar. None of the current events fire after the grid has completed rendering (and by completed rendering, I mean all the rows that are going to be rendered in the grid, have been rendered.

    We’ve been reduced to using really ugly hacks that poll to see if the HTML of the grid has appeared. It would be much, much better if you guys could implement a proper event for when the grid is done rendering.

  • Posted 3 December 2018, 4:31 pm EST

    Hi,

    The grid provides various different events suitable for different purposes such as loadedRows, updatedView, updatedLayout.

    Would you please let us know your requirement so that we may suggest you the suitable event for the requirement or add an enhancement(if required).

    As for complete rendering if you mean when the grid has finished creating actual cells in the DOM then updatedView is up to the task.

    In addition to the above events, FlexGrid also provides an additional event ‘initialized’ which is accessible only in the interop modules, the event is fired after the grid is done with the initialization work.

    More about the initialized event: https://demos.wijmo.com/5/Angular/WijmoHelp/WijmoHelp/topic/wijmo-wijmo.angular2.grid.WjFlexGrid.Class.html#initialized

    Regards

    Sharad

Need extra support?

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

Learn More

Forum Channels