原創(chuàng)|使用教程|編輯:龔雪|2016-07-14 09:23:42.000|閱讀 498 次
概述:樹形網(wǎng)格組件從數(shù)據(jù)網(wǎng)格中繼承,但是允許在行之間存在父/子節(jié)點(diǎn)關(guān)系。本教程將向您展示如何使用樹形網(wǎng)格組件設(shè)置一個(gè)文件夾進(jìn)行瀏覽。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關(guān)鏈接:
Kendo UI for jQuery——?jiǎng)?chuàng)建現(xiàn)代Web應(yīng)用程序的最完整UI庫!查看詳情>>>
樹形網(wǎng)格組件從數(shù)據(jù)網(wǎng)格中繼承,但是允許在行之間存在父/子節(jié)點(diǎn)關(guān)系。許多屬性繼承至數(shù)據(jù)網(wǎng)格,可以用在樹形網(wǎng)格中。為了使用樹形網(wǎng)格,用戶必須定義 'treeField' 屬性,指明哪個(gè)字段作為樹節(jié)點(diǎn)。
本教程將向您展示如何使用樹形網(wǎng)格組件設(shè)置一個(gè)文件夾進(jìn)行瀏覽。
<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>
下載EasyUI示例:
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:慧都控件網(wǎng)