cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CreationEvent getRowCount not giving me the results I am looking for

Former Member
0 Likes
200

I have a grid that when it is created either by refresh or IE loading, I try to gather the row count. The problem I am seeing is the row count method executes before the java loads. Therefore, resulting in a row count of zero (0). Is there a way for the script to recognize that java is still loading and do not execute until this has completed? Or is there something else that I should look in to?

<b>THANKS!!</b>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

UpdateEvent

Former Member
0 Likes

I need the row count when the grid is created, though. Am I missing something here?

Former Member
0 Likes

When the grid is created there is no data,the rowcount would be zero. After the grid calls its assigned query, there is data. Then it would fire the UpdateEvent.

Answers (1)

Answers (1)

Former Member
0 Likes

One more question relating to this subject...

If I have the display refresh setting turned on to like 60 seconds, how can I have the updateEvent triggered?

Former Member
0 Likes

It should trigger automagically.

Former Member
0 Likes

That is what I thought, but then I started thinking that this is a refresh. Updates and refresh are different in xMII. For some reason it is not triggering the updateEvent when the refresh occurs. It works fine when the page is loaded or when I refresh the page manually. I am wondering if I have another problem.