id!=None in grid