cancel
Showing results for 
Search instead for 
Did you mean: 

Busy Indicator on ValueHelpDialog till Async Data Load

former_member303153
Discoverer
0 Kudos

Hello,

I'm trying to load Value Help dialog with backend oData. Since oData results is taking time as I have aroung ~5K records. I'm trying to read oData in Async mode. I'm trying to get event in Valuehelp dialog so that I can set busy indicator to "false" when oData load is done.

I'm trying using oViewModel property bind it to oValueTitleHelpDialog.setBusy(true); can you please help me to identify event which i can use for making oValueTitleHelpDialog.setBusy(false)

maheshpalavalli
Active Contributor

Didn't understand this 😞

"I'm trying using oViewModel property bind it to oValueTitleHelpDialog.setBusy(true); can you please help me to identify event which i can use for making oValueTitleHelpDialog.setBusy(false)"


Questions:

1. How are reading the data? using read call and getting the data, setting to the JSON model and binding to the value help item?

2. Directly binding the odata entity to the value help dialog Items?

3. why are fetching the whole 5k records? You can use the direct binding of the odata entity to the TableSelectDialog items?

4. Which control are using to show the data?

More information will be helpful!

BR,

Mahesh

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member221786
Active Participant
0 Kudos

Hi Sameer,

i would suggest using the event "requestCompleted" from your ODataModel.

Be aware that this event fires whenever data from the model gets loaded.

Also loading 5k records at once shouldn't be necessary.
There are ValueHelper with SearchControls which should fit your requirements and work with better performance.

Hope that helps.

Greetings
Sebastian