Skip to Content
avatar image
Former Member

Event after Data is shown / bound

Hi,

I have a grid with a binding to content. The data is recved by a OData call and needs to be processed in JavaScript. During this time the Grid is setBusy="true".

After the data have been received on the client, I set the model for the grid, doing a sorting and a filter on the data and the data will be displayed. As I need to show more than 1000 elements It take some time between setModel, sort and filter and the actual point of time, when the contol is really displayed.

I tried around with all kind of events, but no success... any ideas?

Kind regards

Jens

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 18, 2017 at 03:47 PM

    i set the page to be busy when I start the odata call. remove the busy status in the success/ error function. i display 10k record, it is working fine for me.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 19, 2017 at 06:07 AM

    Hi Jens,

    For every binding we can attach an event which will trigger when binding is changed. So on binding items to the table you can trigger change event. (change event is triggered when the data binds to the table )

    items = "{path:'/content',events:{change:'.bindFunction'}}"

    Check out this link for different events of binding.

    thanks

    Viplove

    Add comment
    10|10000 characters needed characters exceeded