sapnsGrid. Fixed error when there is no actions