Steps to Reproduce
run the attached example
- add items to the list model by clicking "add element" 2x or more
- click "clear model"
- add more items
Actual Result
after adding the second item the grid/listbox doesn't react anymore
adding an item to an empty model (after "clear model") causes a JS error
Expected Result
all added elements should be rendered
Debug Info
when specifying a sordDirection the problem doesn't occur
Root Cause
in Grid.onListDataChange !isIgnoreSortWhenChanged() prevents rendering new items causing the JS error
- relates to
-
ZK-4017 Grid renders nothing after clear() and addAll()
- Closed