I have an array
data = [{'name':'Bob','email':'[email protected]'}]
How can I render this array using XUL elements (like a table in HTML)? I'm using pure javascript (do not using any JS framework)
I have an array
data = [{'name':'Bob','email':'[email protected]'}]
How can I render this array using XUL elements (like a table in HTML)? I'm using pure javascript (do not using any JS framework)
How do you want it to look? There's xul:listbox
(example), xul:tree
, and you can also use HTML table if it's exactly what you need.