jQuery Mobile 在列表视图中具有多个列
有人解决过在 jQuery Mobile 的列表视图中包含任意数量的列的问题吗?
我想要实现的基本上是一个表格表示,但具有样式列表视图功能。
我知道 jQuery Mobile 列表视图支持“几列”,但我需要能够使用几列(可能是四列或五列)。
或者您对纯 CSS 框架有什么建议,以获得正确的 iPhone“外观和感觉”吗?我尝试过 iWebKit,但由于我想摆脱导航栏(并且找不到任何解决方案),所以我选择不使用它。
Anyone who have solved the problem to have an arbitrary number of columns inside a list view in jQuery Mobile?
What I want to achieve is basically a table representation, but with the styled list view features.
I know that the jQuery Mobile list view supports "a couple of columns" but i need to be able to use several (maybe four or five).
Or do you have any suggestions on pure CSS-frameworks to get the right iPhone "look and feel"? I've tried iWebKit, but since I would like to get rid of the navigation bar (and couldn't find any solution to this), I chose not to use it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看
grid
代码并将列表视图插入到列中。请参阅 JQM 文档,它适用于多个列。我这样做了,它看起来像一张桌子。如果您正确设置列表视图,您也可以获得漂亮的外观 - 例如。启用inset
的列表视图将为所有列制作圆角。Look at the
grid
code and insert listviews to columns. See in JQM docs, it works with multiple columns. I did that and it looks like a table. If you set up the listviews correctly you can get nice looks also - eg. a listview withinset
on will make rounded corners for all columns.对于不同宽度的列,您应该看一下:
jQuery Mobile 上的 960 网格
For columns of different widths you should take a look at this:
960 grid on jQuery Mobile