diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js index 31400687bce..9b533b3e0d2 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js @@ -239,12 +239,14 @@ $.fn.datatables_extended = function(settings){ thisTable.api().rows().every(function () { $(this.node()).addClass(rowSelectedClass); $(button).html('Deselect All'); + $('.bulk-action-row').addClass('hidden'); }); } else if($(button).html() == 'Deselect All') { thisTable.api().rows().every(function () { $(this.node()).removeClass(rowSelectedClass); $(button).html('Select All'); + $('.bulk-action-row').removeClass('hidden'); }); } } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js index c79bd995161..02505d97cad 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js @@ -306,12 +306,14 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter thisTable.api().rows().every(function () { $(this.node()).addClass(rowSelectedClass); $(button).html('Deselect All'); + $('.bulk-action-row').addClass('hidden'); }); } else if ($(button).html() == 'Deselect All') { thisTable.api().rows().every(function () { $(this.node()).removeClass(rowSelectedClass); $(button).html('Select All'); + $('.bulk-action-row').removeClass('hidden'); }); } }