Use model.isId to check row id