Announcement

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

    clearRowErrors(int) same as setRowErrors(int, null) ?

    Is
    Code:
    clearRowErrors(5)
    functionally equivalent to
    Code:
    setRowErrors(5, null)
    ?

    thanks,
    -chris

    SmartClient Version: v11.0p_2016-08-09/Enterprise Deployment (built 2016-08-09)
    FireFox 57.0.2

    #2
    This is an odd question. The two methods are guaranteed to do only what they are documented to do. The actual implementation may happen to be exactly the same now, but you wouldn't want to rely on that, since only what's documented is guaranteed.

    So if you want to clear all errors for a row, you should call clearRowErrors(), and not worry about whether another method happens to be equivalent at the moment.

    If you are trying to figure something else out, we need specifics.

    Comment


      #3
      Hi Christopher, it looks like you made an attempt to reply by email, but this won't work. The answer to your further question is the clearRowErrors() is the right way to clear row errors, and you should not try to accomplish this indirectly via another API, as that is less future proof.

      Comment

      Working...
      X