具有远程数据和分页支持的 Qooxdoo 表

发布于 2024-12-04 17:35:40 字数 121 浏览 3 评论 0原文

有人有关于如何使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光沙漏 2024-12-11 17:35:40

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

挽你眉间 2024-12-11 17:35:40

实际上,对于任何要开始使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文