Hiding the "Select All" Option for a List Column
The possibility to check/uncheck all check boxes in the column of a list can be disabled by setting the attribute col_selector="disabled"
for a necessary column.
In the example below, the "Select All Values in a Row" checkbox will be disabled for the "Show in CP" column at the screen where resource rates are mass-edited:
-
Locate the respective XML file:
$ find . -name PlanRate_PlanRateMassEditList.xml
the following files are found:
./conf/wnd/BM/PlanRate_PlanRateMassEditList.xml
./conf/wnd/BM/customization/PlanRate_PlanRateMassEditList.xml
-
As the customization already exists, we need to modify the customization, not the original file. Copy existing customization
PlanRate_PlanRateMassEditList.xml
to the~bm/customization
directory:cd ~bm/customization cp /usr/local/bm/conf/wnd/BM/customization/PlanRate_PlanRateMassEditList.xml -t /usr/local/bm/customization
-
Open the copied customization file for editing:
vim /usr/local/bm/conf/wnd/BM/customization/PlanRate_PlanRateMassEditList.xml
-
Delete all strings, except for:
<column id="IsVisible" editable="yes" visibility="no"/>
-
Change it to:
<column id="IsVisible" editable="yes" visibility="no" col_selector="disabled"/>
- Save the file.
-
Restart Billing UI gate to apply changes:
/etc/init.d/pba restart www
- After operation is done, log in to Billing and observe changes.