Fix 1010. Update  to data's new length when data is changed.

When data is updated on the DataTable, Paginator isn't updated to the new totalItems. This causes an issue when the last page button is pressed.

This fix updates the Paginator's totalItems when the DataTable's data is updated.