easyui treegrid为啥只显示一行-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

easyui treegrid为啥只显示一行

2016-06-03 10:45:08 4278 1

html代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="keywords" content="jquery,ui,easy,easyui,web">
    <meta name="description" content="easyui help you build your web page easily!">
    <title>jQuery EasyUI Demo</title>
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.net/Public/js/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.net/Public/js/easyui/themes/icon.css">
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.net/Public/js/easyui/jquery.easyui.min.js"></script>
</head>
<body>
    <h1>TreeGrid</h1>

    <table id="test" title="Folder Browser" class="easyui-treegrid" style="width:400px;height:300px"
            url="data/treegrid_data.json"
            rownumbers="true"
            idField="id" treeField="name">
        <thead>
            <tr>
                <th field="name" width="160">Name</th>
                <th field="size" width="60" align="right">Size</th>
                <th field="date" width="100">Modified Date</th>
            </tr>
        </thead>
    </table>

</body>
</html>
json代码:
[{
        "id": 1,
        "kpiName": "系统模版",
        "kpiFormula": "100*pmRrcConnEstabSucc/pmRrcConnEstabAtt*((pmErabEstabSuccInit+pmErabEstabSuccAdded)/(pmErabEstabAttInit+pmErabEstabAttAdded))",
        "kpiPrecision": "2",
        "childern": [{
                "id": 2,
                "kpiName": "无线接通率",
                "kpiFormula": "100*pmRrcConnEstabSucc/pmRrcConnEstabAtt*((pmErabEstabSuccInit+pmErabEstabSuccAdded)/(pmErabEstabAttInit+pmErabEstabAttAdded))",
                "kpiPrecision": "2"
            },{
                "id": 3,
                "kpiName": "RRC建立成功率",
                "kpiFormula": "100*pmRrcConnEstabSucc/pmRrcConnEstabAtt",
                "kpiPrecision": "2"
            },{
                "id": 4,
                "kpiName": "ERAB建立成功率",
                "kpiFormula": "100*(pmErabEstabSuccInit+pmErabEstabSuccAdded)/(pmErabEstabAttInit+pmErabEstabAttAdded)",
                "kpiPrecision": "2"
            },{
                "id": 5,
                "kpiName": "X2S1切换成功率",
                "kpiFormula": "100*(pmHoExecOutS1SuccInterEnb+pmHoExecOutX2SuccInterEnb)/(pmHoPrepOutS1AttInterEnb+pmHoPrepOutX2AttInterEnb)",
                "kpiPrecision": "2"
            },{
                "id": 6,
                "kpiName": "无线掉线率",
                "kpiFormula": "100*pmUeCtxtRelAbnormalEnbAct/(pmUeCtxtEstabSucc+pmErabLevRopStartQci_9)",
                "kpiPrecision": "2"
            },{
                "id": 7,
                "kpiName": "ERAB掉线率",
                "kpiFormula": "100*pmErabRelAbnormalEnbAct/(pmErabLevRopStartQci_9+pmErabEstabSuccInit+pmErabEstabSuccAdded)",
                "kpiPrecision": "2"
            },{
                "id": 8,
                "kpiName": "RRC连接重建比率",
                "kpiFormula": "100*pmRrcConnReestAtt/(pmRrcConnReestAtt+pmRrcConnEstabAtt)",
                "kpiPrecision": "2"
            },{
                "id": 9,
                "kpiName": "切换成功率",
                "kpiFormula": "100*(pmHoPrepSuccLteIntraF+pmHoPrepSuccLteInterF)/(pmHoPrepAttLteIntraF+pmHoPrepAttLteInterF)*(pmHoExeSuccLteIntraF+pmHoExeSuccLteInte/(pmHoExeAttLteIntraF+pmHoExeAttLteInterF)",
                "kpiPrecision": "2"
            },{
                "id": 183,
                "kpiName": "PRB91上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb91/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 184,
                "kpiName": "PRB92上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb92/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 185,
                "kpiName": "PRB93上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb93/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 186,
                "kpiName": "PRB94上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb94/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 187,
                "kpiName": "PRB95上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb95/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 188,
                "kpiName": "PRB96上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb96/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 189,
                "kpiName": "PRB97上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb97/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 190,
                "kpiName": "PRB98上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb98/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 191,
                "kpiName": "PRB99上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb99/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 192,
                "kpiName": "PRB100上行干扰电平",
                "kpiFormula": "10*log10(pmRadioRecInterferencePwrPrb100/pmRadioRecInterferencePwrSfSamp*4*power(2,(-44)))",
                "kpiPrecision": "2"
            },{
                "id": 193,
                "kpiName": "准备切换成功率",
                "kpiFormula": "100*(pmHoPrepSuccLteIntraF+pmHoPrepSuccLteInterF)/(pmHoPrepAttLteIntraF+pmHoPrepAttLteInterF)",
                "kpiPrecision": "2"
            },{
                "id": 194,
                "kpiName": "执行切换成功率",
                "kpiFormula": "100*(pmHoExeSuccLteIntraF+pmHoExeSuccLteInterF)/(pmHoExeAttLteIntraF+pmHoExeAttLteInterF)",
                "kpiPrecision": "2"
            },{
                "id": 195,
                "kpiName": "准备切换尝试数",
                "kpiFormula": "pmHoPrepAttLteIntraF+pmHoPrepAttLteInterF",
                "kpiPrecision": "0"
            },{
                "id": 338,
                "kpiName": "闭站时间",
                "kpiFormula": "pmCellDowntimeAuto+pmCellDowntimeMan",
                "kpiPrecision": "0"
        }]
}]

screenshot

取消 提交回答
全部回答(1)
  • 吴孟桥
    2019-07-17 19:26:14
    "kpiPrecision": "2",
     "**childern**": [{

    单词拼错了,是children

    0 0
相关问答

1

回答

MySQL B+Tree索引和Hash索引的区别是什么?

2021-12-14 16:10:35 311浏览量 回答数 1

1

回答

TreeGrid数据不显示?报错

2020-06-22 22:25:00 305浏览量 回答数 1

1

回答

easyui 加载 combogrid报错?报错

2020-06-14 17:58:06 326浏览量 回答数 1

1

回答

用easyui分页,当导航到某一页时datagrid表格显示的数据不是同步刷新显示该页数据问题,如何解决?

2016-07-12 10:43:47 2290浏览量 回答数 1

1

回答

easyui datagrid高度自适应问题

2016-07-14 15:06:31 2462浏览量 回答数 1

1

回答

关于jquery easyui 中的treegrid中onselect事件

2016-07-13 10:48:42 2243浏览量 回答数 1

1

回答

怎么在easyui的datagrid里面设计级联下拉列表

2016-07-07 15:52:50 3056浏览量 回答数 1

1

回答

怎么给easyui datagrid最后一行添加总计

2016-06-08 15:34:02 2788浏览量 回答数 1

1

回答

求助easyui不能用,有些标签显示特性未知,网页上也不能显示

2016-06-01 15:49:09 2691浏览量 回答数 1

1

回答

关于jquery easyui datagrid滚动条不显示的问题

2016-06-01 11:15:19 4167浏览量 回答数 1
+关注
文章
问答
问答排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载