Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Button 如何在PrimeFaces仪表板组件上添加关闭按钮?_Button_Primefaces_Widget_Dashboard - Fatal编程技术网

Button 如何在PrimeFaces仪表板组件上添加关闭按钮?

Button 如何在PrimeFaces仪表板组件上添加关闭按钮?,button,primefaces,widget,dashboard,Button,Primefaces,Widget,Dashboard,我正在尝试使用PrimeFaces仪表板组件创建小部件。根据用户的选择,他应该能够折叠/关闭小部件。我怎样才能做到这一点 在仪表板项目中使用可关闭面板 <p:panel id="pnl" toggleable="true" closable="true" toggleSpeed="500" closeSpeed="500" widgetVar="panel"> 祝你好运 如果您正在寻找具有切换功能的小部件,为什么不使用?@dShringi?小部件还必须具有关闭和编辑功能。我想

我正在尝试使用PrimeFaces
仪表板
组件创建小部件。根据用户的选择,他应该能够折叠/关闭小部件。我怎样才能做到这一点

在仪表板项目中使用可关闭面板

 <p:panel id="pnl" toggleable="true" closable="true" toggleSpeed="500" closeSpeed="500" widgetVar="panel">


祝你好运

如果您正在寻找具有切换功能的小部件,为什么不使用
?@dShringi?小部件还必须具有关闭和编辑功能。我想提供这个仪表板。(类似于iGoogle小工具的功能)谢谢!现在可以切换和关闭小部件了!