Implement correctly .getData() method of TableController

[#62270766]