Skip to Content
0

Event after Data is shown / bound

Jan 18, 2017 at 02:37 PM

46

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jun Wu Jan 18, 2017 at 03:47 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
VIPLOVE KHUSHALANI Jan 19, 2017 at 06:07 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded