TreeGrid is in charge of displaying the data and handling user events only.
TreeGrid负责显示数据,且只处理用户事件。
A tree widget, such as tree and TreeGrid, presents a view of hierarchical data.
一个树型小部件,比如Tree和TreeGrid,显示一个分层数据视图。
Together, the TreeGrid and QueryReadStore are a powerful combination for lazy loading data.
合起来,TreeGrid和QueryReadStore是一个功能强大的处理延迟加载数据的组合。
The Dojo v1.4 TreeGrid is a useful widget when you want to present hierarchical data on a web page.
如果您想要在一个web 页面上呈现分层数据,DojoTreeGrid是一很有用的小部件。
To understand how to use a TreeGrid, keep in mind the following tree components that feed each other.
要了解如何使用一个TreeGrid,注意以下相互依赖的树组件?
Look through the source code of TreeGrid and TreeModel in Listing 6 to see how expanding sub-rows work.
仔细查看清单6中的TreeGrid和treemodel源代码,看看如何展开子条目。
Customizing QueryStore and TreeGrid can solve the problem of Dojo currently not supporting large data very well.
定制QueryStore和TreeGrid可以解决目前Dojo不能很好地支持大数据这一问题。
In this section, you'll customize QueryReadStore and TreeGrid to implement partial loading and fix regression bugs.
在这一小节,您将定制QueryReadStore和TreeGrid来实现部分加载和修复回归bug。
In this article, you learned how to create a customized solution to accelerate the performance for Dojo TreeGrid to load large data.
在本文中,您学习了如何创建一个定制的解决方案来提升dojo加载大数据的性能。
Results in the article showed that the performance of the solution is about 1/30th of the time that ItemFileReadStore and TreeGrid take.
本文结果显示解决方案的性能大约是ItemFileReadStore和TreeGrid 所用时间的 1/30。
To get started, you need to define the query of the ForestStoreModel (an implementation of TreeModel) to return the multiple top-level items for the TreeGrid.
开始之前,您需要定义ForestStoreModel (TreeModel的一个实现)的查询来返回TreeGrid的多个顶级条目。
The TreeGrid which supports multiple columns, editing, lazy loading of nodes, and virtual scrolling is also very powerful and something that many applications require.
TreeGrid支持多列、可编辑、延迟加载的结点,十分强大的垂直滚动特性以及许多应用所需的一些东西。
The TreeGrid widget itself is merely a view of the data. The real power comes with TreeModel, which represents the actual hierarchical data that the Tree widget will display.
TreeGrid小部件本身只不过是该数据的一个视图,真正的力量来自于TreeModel,它呈现Tree小部件将要显示的实际分层数据。
Now that you have the data rendered in the TreeGrid, you'll want to verify whether the TreeGrid features, such as sorting and expanding parent nodes, work correctly with the QueryReadStore.
现在您已经在TreeGrid中渲染了这些数据,您想要证实是否TreeGrid特性(比如排序和展开父节点)能与QueryReadStore正常运作。
Now that you have the data rendered in the TreeGrid, you'll want to verify whether the TreeGrid features, such as sorting and expanding parent nodes, work correctly with the QueryReadStore.
现在您已经在TreeGrid中渲染了这些数据,您想要证实是否TreeGrid特性(比如排序和展开父节点)能与QueryReadStore正常运作。
应用推荐