jqgrid 单元格内是否可以有 jquery ui 进度条

发布于 2024-09-30 10:38:46 字数 214 浏览 2 评论 0原文

我看到他们有使用 jquery datepicker 的示例,但我想看看你是否可以坚持jqgrid 单元格内的 jquery 进度条

i see they have examples using a jquery datepicker but i wanted to see if you could stick a jquery progress bar inside a jqgrid cell.

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

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

发布评论

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

评论(2

梦里寻她 2024-10-07 10:38:46

看一下:在 JQGrid 中显示进度条

这个想法是在数据中传递一些 HTML,即

{"id":"1","cell":["1","Scott","US","

10

"]},

并将此 HTML 替换为进度条.
这对我有用,至少在 jqgrid 没有寻呼机的情况下是这样。

Take a look at: Display progress bar inside JQGrid

The idea is to pass some HTML inside the data, i.e.

{"id":"1","cell":["1","Scott","US","<DIV class=progBar>10</DIV>"]},

and replace this HTML with a progressbar.
This works for me, at least as long as the jqgrid does not have a pager.

丢了幸福的猪 2024-10-07 10:38:46

据我所知没有。如果您只需要以大增量(例如 10% 块)显示金额,您可以使用进度条图像作为解决方法。

Not that I know of. If you only need to display amounts in large increments (say 10% chunks) you can use images of progress bars as a workaround.

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