documentation for addMode, viewMode, rowsMode