作者:手机用户2502862657 | 来源:互联网 | 2023-09-24 10:49
var data = [
{
"Area": "Plant","Equipment": "E-312A","PermitNo": 4321.0,"PermitType": "Hot Work","Section": "A"
},{
"Area": "pipe","PermitNo": 231.0,"Section": "B"
},{
"Area": "A","Equipment": "P-100A","PermitNo": 45.0,"Section": "A"
}
]
我想要的输出:应该有表分页,即page1应该包含data [0]的数据,
page2包含data [1],依此类推。列值仅是“属性”和“值”。
Property value
=====================================
Area Plant
Equipment E-312A
PermitNo 4321.0
PermitType Hot Work
Section A
请尝试下面的数据表代码:
CSS代码:
body {
margin: 0;
padding: 0;
color: #333;
background-color: #fff;
}
div.container {
min-width: 980px;
margin: 0 auto;
}