wicketstuff/core — Issue #89: DataGrid row selection indication is broken
Author: czajawt
Created: 2012-01-19 08:02:14+00:00
State: open

In DataGridBody with commit https://github.com/wicketstuff/core/commit/2e5023fb2c4f9ed418b84a42f2831f8b788bf38b
line 187 was changed from getDefaultModel() to getDefaultItemModel().
With this change model returned is for DataGridBody not RowItem and thus isItemSelected returns false.
Row is internally selected (is in selectedItems in DataGrid ) but is not highlited on clients side.
IMHO line 187 should be: (isItemSelected((IModel)getDefaultModel()))