i have added certain buttons on homepage grid of application ribbon. i am using custom rule but the issue is that custom button not appear when select any record from homepage grid when i unchecked all records then button will be appear. it's work fine on classic UI but not work on UCI . i am using below code.
function ShowButton(){
return true;
}