on 11-24-2014 5:57 AM
Hi
I am using Neptune for developing mobile application.
During this I was trying to use BusyDialog while fetching data.
To close this BusyDialog I have to check if my internal table is filled or not in Java script.
Can you please help me to write a Java script to check the internal table which is populated from the class is filled or not.
Thanks a lot in advance.
Regards,
Anmol Bhat
If you passed the internal table to the Neptune Application (use "Receive" with the corresponding Ajax ID), then after the response is handled in the Application simply check the Model Data for the contents.
Table as Model Data is represented as Array, check the length of the array.
Example:
"oTableControl" (name of the control the table is bound to)
Check with:
if(modeloTableControl.getData().length > 0) {
// ...
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I close this as I got the other way to do it
Thanks,
Anmol Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.