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

Remove a Grid's row and first row gets focus

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.0.6
    • 7.0.4
    • None
    • Security Level: Jimmy
    • None
    • 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

        1. inlineEditFocus.zul
          0.6 kB
          hawk
        2. InlineEditVM.java
          0.9 kB
          hawk

        Issue Links

          Activity

            People

              DevChu DevChu
              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