How to delete a batch delete button for a subfeature set in JEPaaS
In this issue, the editor will bring you the batch delete button on how to delete the sub-function set in JEPaaS. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
Implementation idea: register the pre-rendering events of the form field of the sub-function collection, and hide the batch delete button.
Find the table object
Find the actioncolumn operation column object
Replace the items of the actioncolumn operation column
4. Function (field) {
5. Var grid=field.grid
6. Var actionColumn=null
7. For (var iTuno Bitteri
< p="">8. If (grid.Columbia [I] .xtype=='actioncolumn') {
9. ActionColumn=grid.columns [i]
10. Break
11.}
12.}
13. If (actionColumn) {
14. Var items=actionColumn.items
15. Var newItems=new Array ()
16. Ext.each (items,function (item) {
17. If (item.tooltipboxes' batch deletion') {
18. NewItems.push (item)
19.}
20.})
21. ActionColumn.items=newItems
twenty-two。 }
23. }
The above is the batch delete button on how to delete the sub-feature set in JEPaaS shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.