Fix #2394 (selection): make enableRowSelection dynamic
Merge pull request #2412 from PaulL1/2394_dynamic_selection

Fix #2394 (selection): make enableRowSelection dynamic