cancel
Showing results for 
Search instead for 
Did you mean: 

Using Internal tables in Java Script - Neptune

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

maximilian_schaufler
Active Contributor
0 Kudos

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) {

  // ...

}

Former Member
0 Kudos

I close this as I got the other way to do it

Thanks,

Anmol Bhat