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

unexpected events on Combobox with Grid+RowRenderer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.1
    • 8.0.0, 7.0.6.1
    • Components
    • Security Level: Jimmy
    • ZK 8.0.1 S2

      the attached example shows 2 grids one is rendered using a RowRenderer the other using a <template>

      inside the row there a Combobox listening to onChange/onSelect events and triggering a re-render of the grid row (gridModel2.set(0, "dummyRenderer"))

      Problem: RowRenderer
      in the RowRenderer case the Combobox receives unexpected "onChange"/"onSelect" events even after the Combobox is already detached

      No Problem: <template>
      this does not happen in the <template> case (here only a single "onChange" event is triggered, and no "onSelect")

      to verify the behavior just check the server logs

      in ZK 7 there is no duplicate onChange event but still an unexpected onSelect event on the detached combobox

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m