具有远程数据和分页支持的 Qooxdoo 表
有人有关于如何使用 qooxdoo 的示例代码吗?我是 qooxdoo 新手,我刚刚成功地在 Qooxdoo 中设计了我的 UI,但我还不掌握表及其远程数据模型的编码。
请赐教。如果有我可以阅读的示例代码就好了。
Anyone have an example code on how to work with qooxdoo ? i am qooxdoo newbie here and i just successfully manage to design my UI in Qooxdoo and i do not grasp coding of table and its Remote data model yet.
Please enlighten me. would be good if theres an example code i can read.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
qooxdoo 有一个示例展示如何使用远程表模型 [1]。但这种模式并不是为了支持分页而设计的。如果您需要这样做,您必须以某种方式自己通过附加控件并手动设置数据来完成此操作。
[1] http://demo.qooxdoo.org/current/demobrowser/#表~Table_Remote_Model.html
qooxdoo has an example showing how to use the remote table model [1]. But this pattern is not designed to support pagination. If you need that, you have to do that yourself somehow with additional controls and setting the data manually.
[1] http://demo.qooxdoo.org/current/demobrowser/#table~Table_Remote_Model.html
实际上,对于任何要开始使用 Qooxdoo 表的初学者来说,您引用的远程表页面太复杂了。
这好多了:
http://qooxdoo.org/documentation/0.8/remote_table_model
我要去用它来测试。希望与 1.5 一起使用
编辑:经过测试并且与 1.5 一起工作正常。我将使用 From / To 查询来实现一个寻呼机。
Actually the remote table page you refrenced is too complex for any beginner who going to start with Qooxdoo tables.
This is much better :
http://qooxdoo.org/documentation/0.8/remote_table_model
i am going to test with it. hope that works with 1.5
EDIT:Tested and working fine with 1.5 . I am going to implement a pager using From / To queries.