ShieldUI JavaScript网格的条件扩展/折叠

编程入门 行业动态 更新时间:2024-10-17 13:39:47
本文介绍了ShieldUI JavaScript网格的条件扩展/折叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用ShieldUI jQuery网格组件。 我已经构建了一个层次结构,运行良好。 但是,我有一个要求,我需要只显示展开/折叠符号/列,如果在较低级别有详细记录而不显示它。 任何指针都很受欢迎。

解决方案

要使用ShieldUI jQuery网格实现此功能,您需要使用一些额外的代码并检查 expandButtonCreate 事件处理程序以获取特定值。 这里有一个很好的例子证明了这个功能: demos.shieldui/web/grid-general/conditional-hierarchy 我希望这个建议有所帮助。

I am using the ShieldUI jQuery grid component. I have built a hierarchical structure, which is working well. However, I have a requirement, where I need to only display the expand/collapse symbol/column if there are detail records on the lower levels and not display it otherwise. Any pointers are appreciated.

解决方案

To achieve this functionality with the ShieldUI jQuery grid, you need to use a little bit of additional code and check the expandButtonCreate event handler for a specific value. There is a good example available which demonstrated this functionality here: demos.shieldui/web/grid-general/conditional-hierarchy I hope this suggestion helps.

更多推荐

ShieldUI JavaScript网格的条件扩展/折叠

本文发布于:2023-11-11 05:47:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577550.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网格   条件   ShieldUI   JavaScript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!