Adding the ability to get the selected rows of a table.