procedure TForm1.DrawGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
var i:integer;
begin
i:=0;
if Acol=1 then //在第二列画图
begin
case Arow of //此处你可以根据需要换成你的条件
1,3,5: i:=0;
2,4,6,8,9,10: i:=1;
end;
ImageList1.Draw(DrawGrid1.canvas,Rect.left+8,rect.top+4,i);
end;
end;