如何在 jQuery Mobile 中轻松显示查询数据?

发布于 2024-12-29 09:12:42 字数 188 浏览 0 评论 0原文

我有一个 jQuery Mobile 网页,其中包含一个包含在 HTML 表单中的插入列表。当操作为“提交”时,POST 参数将在相应文件中进行验证。 SQL 查询使用这些参数根据用户的操作提取数据。

我想知道如何以大约 8 列的表格格式显示此查询数据。

注意:该应用程序实际上仅在台式电脑上使用。

欢迎任何建议。

I have a jQuery Mobile web page with an Inset List that is wrapped in a HTML form. When the action is Submit, the POST parameters are validated in a corresponding file. An SQL query uses these parameters to extract data as per user's actions.

I was wondering, how I can display this query data in a tabular format which has about 8 columns.

Note: This application is actually used on desktop PCs only.

Any suggestions are welcome.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

没企图 2025-01-05 09:12:42

在不知道目标设备、方向或您尝试显示的数据大小和类型的情况下,我想说您仍然可以使用 HTML table 标记。如果您想要一些 jQuery Mobile 类型样式,这篇文章可能会有所帮助。

此论坛帖子的回复解释了您可能需要重新考虑的一些重要原因以柱状方式显示数据。

是否可以重新考虑要显示多少数据或使用可折叠集之类的东西?否则,您可能只想将其粘贴在 8 列表格中,并期望用户水平和垂直滚动。

Without knowing the target devices, orientations, or size and type of data your are trying to display I would say that you can still use HTML table tags. If you want some jQuery Mobile type styling, this other post may help.

The response on this forum post explains some great reasons why you may want to reconsider displaying the data in a columnar fashion.

Is is possible to reconsider how much data to display or using something like collapsible sets? Otherwise you probably just want to stick it in the 8 column table and expect the user to scroll horizontally and vertically.

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