on 10-30-2019 11:00 PM
Hi,
I have two sections in a view. In the first section I am making a get call on X entity set and in the second section I am making get call from Y entity.
Now the get call from X entity takes some time due to large data, so I want to first load Y entity data on to my second section of view, so user doesnt have to to wait for the X entity data to get loaded. Is there a way I can do this using SAPU5 code ....basically asynchronous way of loading data ?
Loading is async by default. But, if you want to execute first entity 2 use the call back function to entity 1 in entity 2 success method.
Even better, try to use promises.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is async by default....unless you are doing something crazy....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.