如图所示,当我们获取到数据后每个栏都只显示5条,多出的部分隐藏,点击显示全部将数据都展现出来,如图所示


首先我们的数据类型是这样的,
tableData: [
{
"comment": "",
"lscm": [
{
"count": "1268",
"id": 1,
"namech": "OGC WMTS",
"nameen": "WMTS",
"state": 1,
"timestamp": 1439193813000,
"typeid": 1
},
{
"count": "26",
"id": 2,
"namech": "OGC WMS",
"nameen": "WMS",
"state": 1,
"timestamp": 1439193815000,
"typeid": 1
},
{
"count": "46",
"id": 3,
"namech": "OGC WFS",
"nameen": "WFS",
"state": 1,
"timestamp": 1439193816000,
"typeid": 1
},
{
"count": "2",
"id": 4,
"namech": "OGC WCS",
"nameen": "WCS",
"state": 1,
"timestamp": 1439193817000,
"typeid": 1
},
{
"count": "38",
"id": 5,
"namech": "OGC WFS-G",
"nameen": "WFS-G",
"state": 1,
"timestamp": 1439193837000,
"typeid": 1
},
{
"count": "19",
"id": 6,
"namech": "地名搜索服务",
"nameen": "DMSSFW",
"state": 1,
"timestamp": 1433728837000,
"typeid": 1
},
{
"count": "0",
"id": 7,
"namech": "ESRI*.shp",
"nameen": "shp",
"state": 1,
"timestamp": 1433728829000,
"typeid": 1
},
{
"count": "0",
"id": 8,
"namech": "KML",
"nameen": "KML",
"state": 1,
"timestamp": 1433728822000,










