How to put JSON data in html / javascript grid table

前端 未结 5 1729
慢半拍i
慢半拍i 2021-01-05 11:57

I have the following JSON-formatted data:

    [
{
    \"ID\": \"00:50:c2:63:10:1a\",
    \"start\": \"1349773838277760\",
    \"end\": \"1349773838277770\",
         


        
相关标签:
5条回答
  • 2021-01-05 12:05

    Have a look at:

    http://www.1stwebdesigner.com/css/top-jquery-chart-libraries-interactive-charts/

    http://codecanyon.net/item/graphup-jquery-plugin/108025?ref=1stwebdesigner

    These are solutions that are very good for these kinds of tables

    0 讨论(0)
  • 2021-01-05 12:11

    I would recommend dataTables, you can feed in a javascript array. Click here

    0 讨论(0)
  • 2021-01-05 12:14

    If DataTables is too heavy for you (70 KB) you can use the various template libraries out there:

    • Mustache,
    • Handlebars,
    • Distal

    Just convert a table row into a template and then repeat that template inside an HTML table.

    0 讨论(0)
  • 2021-01-05 12:27

    You can use jqGrid for jQuery.

    0 讨论(0)
  • 2021-01-05 12:30

    DataTables can create a table from JSON.

    0 讨论(0)
提交回复
热议问题