gwt-material-table
gwt-material-table copied to clipboard
table.getTableTitle().setText("...") exception
I tried to change the title of my table, but when I write table.getTableTitle().setText("..."), there is an exception:
Exception caught: (TypeError) : Cannot read property 'setText_0_g$' of undefined
(In Debug mode value of table.getTableTitle() is undefined). Is this a bug or do I something wrong? Thank you!
You could be trying to getTableTitle() before it has been constructed. The latest version of the data dable shouldnt have this issue, but I will take a look to verify. Thanks!