if(!grid.depotsToDisplay.length){
                grid.dom.caption.textContent=my.messages.thereAreNot+': '+grid.dom.caption.textContent;
                grid.dom.table.setAttribute('error-list','no-errors');
            }else{
                grid.dom.table.setAttribute('error-list','have-errors');