I don't believe this is possible... what is your use case?
Happy to help out here.
I am seeing that it isn't possible using the getDisplayedData() option, but you can set a variable to the table data and then return the variable. The format of the data will be different from getDisplayedData(), but you can transform it to match that prior to returning it:
Let me know if this helps and if you have any additional questions!
We'll reach out when this bug is fixed