I am stumped on how to load a Javascript key/value object into Dynatable.
I have tried playing around with one of the pieces of demo code from the homepage, represented here as a jsFiddle http://jsfiddle.net/5mtxekeb/1/ .
I cannot get dynatable to render when I attempt to move the JSON within the <pre> tag to within the JS code.
As for why this is relevant to me, chrome.storage's API returns a key/value object, and it's going to return the data that I want to represent in tabular form. Any help on how to do this is appreciated.
I am stumped on how to load a Javascript key/value object into Dynatable.
I have tried playing around with one of the pieces of demo code from the homepage, represented here as a jsFiddle http://jsfiddle.net/5mtxekeb/1/ .
I cannot get dynatable to render when I attempt to move the JSON within the
<pre>
tag to within the JS code.As for why this is relevant to me, chrome.storage's API returns a key/value object, and it's going to return the data that I want to represent in tabular form. Any help on how to do this is appreciated.