Search code examples
jdbcoracle-adf

ADF - ViewObject getRowAtRangeIndex returns null even though row count is 300


getRowAtRangeIndex is returning null when I pass in for example 14. However, if I check the rows it says there's 300. I have the ViewObject return all rows automatically. If I run this same method in a click listener, it has no issues. It's only when I'm trying to pre-populate a table. Any ideas?

Thanks, Graeme


Solution

  • I had to do a server event from the client, then it loaded in the correct time. Used this to solve it:

    http://killm3-adf.blogspot.com/2014/08/calling-java-method-on-page-load.html