kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

DropDownTree change and dataBound events are not triggered if the widget has autoBind: false, checkboxes: true and filtering enabled

Open veselints opened this issue 7 years ago • 3 comments

Bug report

DropDownTree change event is not triggered if the widget has:

  • autoBind: false;
  • checkboxes: true:
  • filter: "startsWith", or "contains"

DropDownTree dataBound event is not triggered if the widget has:

  • autoBind: false;
  • checkboxes: true:
  • filter: "startsWith", or "contains"

Reproduction of the problem

  1. Run Dojo
  2. Open the DDT - no dataBound event will be triggered
  3. Click on item1 to select it - change event is NOT fired
  4. Click on item2 to select it - change event is NOT fired
  5. Click on delete button of item1 to delete it - change event is NOT fired
  6. Click on DropDownTree's clear button or click inside DropDownTree's input and press Esc button to delete all items - change event IS FIRED in this case.

Current behavior

Change event is NOT fired on steps 2, 3 and 4. It is fired only when deleting all items.

Expected/desired behavior

dataBound and change events are fired.

Environment

  • Kendo UI version: 2020.1.219
  • Browser: [all]

veselints avatar Oct 17 '18 07:10 veselints

Also reported in: Ticket ID: 1536547

veselints avatar Sep 24 '21 08:09 veselints

Calling e.sender.dataSource.fetch() in the open event would force the DropDownTree to fire the above events. It, however, will also force a second read in remote binding scenarios.

veselints avatar Sep 27 '21 09:09 veselints

Also mentioned in Ticket 1581783

martintabakov avatar Sep 30 '22 13:09 martintabakov