In DataGridBody with commit 2e5023f
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()))
With 6.0-SNAPSHOT (de)selecting works OK.
fixed issue #89 (DataGrid selection indication is broken)
Problem was fixed by 7e8103d but merge f286b70 reverted fixup :-(
[inmethod] fixed issue #89 (DataGrid selection indication is broken)
The fix is restored!
Works with Wicket 6.0-beta1 and current inmethod-grid.