Use visible rows and columns at isEmpty()