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

Remove a Grid's row and first row gets focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 7.0.6
    • 7.0.4
    • None
    • Security Level: Jimmy
    • None
    • ZK 7.0.7
    • None

      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.

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

              Created:
              Updated:
              Resolved:

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