Announcement

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

    Upgrade to 3.1: DSF#setTimeFormatter deprecated and ListGrid#removeRecordClick gone?

    Two immediate issues after upgrading to 3.1 (2012-12-20):

    - ListGrid#removeRecordClick(int) is gone. With what was it replaced?
    - TimeDisplayFormat is deprecated but DataSourceField#setTimeFormatter(TimeDisplayFormat) still uses it. How should we deal with that?

    #2
    - ListGrid#removeRecordClick(int) is gone. With what was it replaced?
    If you're looking for a notification for when the user removes a record, you can use addRemoveRecordClickHandler().

    This API was removed as part of the refactoring to add support for this notification.

    However - we recognize that you may have been using this API to remove a record programmatically.
    We actually plan to re-add the API for this reason - should hit nightly builds in the next couple of days. For now you can always call "removeData" directly.

    - TimeDisplayFormat is deprecated but DataSourceField#setTimeFormatter(TimeDisplayFormat ) still uses it. How should we deal with that?
    Continue using this -- we plan to un-deprecate this API as there are still places where it makes more sense than alternative approaches.

    Comment


      #3
      Ok, shall I just try the new nightly every day or will you report here once these changes are reverted?

      Comment

      Working...
      X