I'm having problems with Material Design Lite's table component. I defined it with the class mdl-data-table--selectable
which should make its rows selectable. It does if it is statically defined in HTML, but when I create my nodes dynamically and add that to the table, it does not become selectable.
Please see this fiddle
I did add a componentHandler.upgradeElement(tr);
but it does not solve the problem and it even throwed an exception so I went on without that.
Hi, since I can't find an answer to this, I'm open to new suggestions on how I can refresh a table. Currently, I am removing all its contents and generating the table again which requires adding of elements dynamically. Any suggestions are welcome.