开发者

How do I display an array using XUL elements like a table in HTML

开发者 https://www.devze.com 2022-12-15 20:53 出处:网络
I have an array data = [{\'name\':\'Bob\',\'email\':\'bob@gmail.com\'}] How can I render this array using XUL elements (like a table in HTML)?

I have an array data = [{'name':'Bob','email':'bob@gmail.com'}]

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消