Thank you for reporting this bug. We will make it our priority to review this report.
GridPanel renders unselectable rows on subsequent adds to the store
GridPanel renders unselectable rows on subsequent adds to the store
Ext version tested: Browser versions tested against: DOCTYPE tested against: Description:
- Ext.grid.Panel renders unselectable/non-highlightable rows when autosort is enabled, the count added is greater than one, and the store already has items. This due to Ext.util.Collection which calls splicemerge on subsequent adds with an existing length and autosort enabled. Method splicemerge does not update the collection's map and indices which results in a calculated recordIndex of -1 in renderRow of Ext.view.Table for records added on subsequent adds.
Steps to reproduce the problem:- Create a gridpanel with sorters
- Add one item to the grid's store
- Add two items to the grid's store
The result that was expected:- Three highlightable/selectable rows
The result that occurs instead:- Three visible rows but only the first (added) is selectable
Workaround #1- Disable autosort
- Add to store
- Enable autosort
- Sort store data collection programmatically
Workaround #2
GridPanel renders unselectable rows on subsequent adds to the store
Aucun commentaire:
Enregistrer un commentaire