Hi,
You can get the data from the table's model using <table>.getModel().getData().
For context specific data, you've to get the selected row, then use
var obj = <selectedRow>.getBindingContext().getProperty()
obj will have the context specific data.
Thanks and best regards,
Shilpa