mcknight mcknight - 1 year ago 60
HTML Question

How to put JSON data in html / javascript grid table

I have the following JSON-formatted data:

[
{
"ID": "00:50:c2:63:10:1a",
"start": "1349773838277760",
"end": "1349773838277770",
"startArea": "areaStart",
"endArea": "areaEnd",
"duration": "10"
},
{
"ID": "00:50:c2:63:10:1a",
"start": "1349773838277760",
"end": "1349773838277780",
"startArea": "areaStart",
"endArea": "areaEnd",
"duration": "20"
},
{
"ID": "00:50:c2:63:10:1a",
"start": "1349773838277760",
"end": "1349773838277780",
"startArea": "areaStart",
"endArea": "areaEnd",
"duration": "20"
}]


How can I display this data nicely in a html data table?

Is there a plugin for jQuery that can help me?

My basic approach is this:

http://jsfiddle.net/LKkSJ/

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download