kendo-ui-core
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
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
- Run Dojo
- Open the DDT - no
dataBoundevent will be triggered - Click on item1 to select it - change event is NOT fired
- Click on item2 to select it - change event is NOT fired
- Click on delete button of item1 to delete it - change event is NOT fired
- 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]
Also reported in: Ticket ID: 1536547
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.
Also mentioned in Ticket 1581783