material-table
material-table copied to clipboard
this.tableRef undefined
Following the example here https://material-table.com/#/docs/features/remote-data , however this.tableRef is always undefined when clicking the action?
Can you post your code?
I figured it out, I had to call a function outside the MaterialTable component then was able to access this.tableRef.current in that function