Table populated with Array - Need to auto scroll to bottom row / rearrange Array

Hi all,

I have a table which is populated with data from an Array.

The Array gets added too via an onclick action, and therefor the table will continue to show the new row’s.

My question is, does anyone know how I would go about either auto scrolling to the newest row(the bottom one) every time I add to the Array, or showing the newest row on top always?

As you can see here, when the new item is added to the Array, it gets populated as the last row in the table, therefore, I would need to manually scroll to the bottom of the table to see it.

Cheers,
Ray.

Community Page
Last updated: