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:

  1. 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

  2. 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
    
  3. Open the copied customization file for editing:

    vim /usr/local/bm/conf/wnd/BM/customization/PlanRate_PlanRateMassEditList.xml
  4. Delete all strings, except for:

    <column id="IsVisible" editable="yes" visibility="no"/>

  5. Change it to:

    <column id="IsVisible" editable="yes" visibility="no" col_selector="disabled"/>

  6. Save the file.
  7. Restart Billing UI gate to apply changes:

     /etc/init.d/pba restart www
  8. After operation is done, log in to Billing and observe changes.
CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.