Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Java: recognizing not yet loaded records in a ResultSet

    When I read out records from a ResultSet, asking for not-yet-loaded records (via get or getRange) yields a placeholder value, called Array.LOADING in the docs - However, I can not find this value anywhere in the SmartGWT JAVA wrapper.

    So, how do I recognize wherher a record I have read out is loaded or not?

    Until now, I used to simply check for empty records, not now I have realized that I get different placeholders in developer mode and in deployed mode...

    ... I guess there is an API for this, but where?

    Thank you for your help!

    #2
    resultSet.rowIsLoaded()

    Comment


      #3
      Array.LOADING is still referenced in the Javadoc. This should be updated to point to the recommended API call.

      Comment


        #4
        Where? This search isn't finding it:

        site:www.smartclient.com/smartgwtee/javadoc/ Array.LOADING

        Comment


          #5
          sorry, i should have posted a link. it is in ResultSet here:

          http://www.smartclient.com/smartgwt/...ange(int, int)

          it's in the SmartGWT docs not the SmartGWTEE
          site:www.smartclient.com/smartgwt/javadoc/ Array.LOADING

          Comment


            #6
            Thanks. It's been corrected for a while, but the SGWT docs still reflect the last release version.

            Comment

            Working...
            X