I want to: Generate a table that has tickboxes.
I generate a table's code from JS, then I change the innerHTML of a parent node to include it.
If I call componentHandler.upgradeElement
on the , I get this:
As you can see, there is also the order messed up!
If I call componentHandler.upgradeElement
on nothing, this happens:
How do I upgrade the whole table? The table has mdl-data-table--selectable class...
The performance is not absolutely crucial.