gwt-material-table icon indicating copy to clipboard operation
gwt-material-table copied to clipboard

table.getTableTitle().setText("...") exception

Open RomanErshov1 opened this issue 8 years ago • 1 comments

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!

RomanErshov1 avatar Oct 03 '17 20:10 RomanErshov1

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!

BenDol avatar Jan 31 '18 09:01 BenDol