Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2664

Remove a Grid's row and first row gets focus

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.4
    • Fix Version/s: 7.0.6
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 7.0.7

      Description

      Steps to Reproduce

      1. run attached zul and vm
      2. click a button to remove a row

      Actual Result

      textbox in first row becomes editable.

      Expected Result

      no row gets focus.

      Debug Information

      It only happens when using ListModelList as a model object and notify (@NotifyChange) it.
      Remove notify annotation or use Java collection with @NotifyChange will not have this issue.

      Workaround

      Do not use @NotifyChange for ListModelList for it's no need.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                DevChu DevChu
                Reporter:
                hawk hawk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h