How to make a action ignite when a list is completely drawn

How to make a action ignite when a list is completely drawn

  

I made a action with a java script to scroll the list automatically.

But the action don't ignite when that I assumed.


I want it to work 

1.when the screen is loaded and the list completely drawn

2.when the contents of the list changes (Only when the list changes)


I tried to use "On Render" Event to do this ,

but it doesn't work.

Hello Tenchi,

Could you be more specific?

Did you debug the app? The OnRender is being triggered (it should)? Is your javascript that is not working? Did you tried in Chrome to see if the javascript has any error?

Can you provide a minimum working mobile app that reproduces the problem?

Cheers.

Hello Eduardo.


I tried to debug in Chrome, but there was not any error for the javascript.

The javascript is working when I click any buttom to change the list.

(I'm making a app like watsup or Line, and I click the buttom to do a post)


But, when I open the screen, the action runs before the list is shown.


This is the screen

the "overflow: scroll;" CSS parameter is in the List "talkList".

Hi Tenchi,

The event Render should've being triggered also after the data is rendered AFTER the OnAfterFetch of the list's source.

Is the autoscroll action being called the second rime?

Eduardo Jauch wrote:

Hi Tenchi,

The event Render should've being triggered also after the data is rendered AFTER the OnAfterFetch of the list's source.

Is the autoscroll action being called the second rime?

The action is called the second time after the OnAfterFetch.

but it runs in half way of rendering the list, so it just scroll to the half way (not to the bottom)


This is screenshot of the second time that autoscroll is called.