DataImageCheckBox

Is there a way to use a different image for each DataImageCheckBox column type?

Thanks
Dan Fields

By default, the image for the checkboxes (checked/unchecked) is set by global properties CheckTruePictureURL / CheckFalsePictureURL.  So, normally, for every cell, the images are the same.

If you want a different picture, a possible solution is to implement the OnGetCellType event and in this event conditionally set CheckTruePictureURL / CheckFalsePictureURL. 
Example:

procedure TIWForm3.TIWAdvWebGrid1GetCellType(Sender: TObject; RowIndex,
  ColumnIndex: Integer; var AColumnType: TTIWColumnType;
  var Editor: TTIWColumnEditor; var DynEditor: TTIWDynEditType);
begin
  if columnindex = 1 then
  begin
    TIWAdvWebGrid1.CheckTruePictureURL := 'imageCol1X';
    TIWAdvWebGrid1.CheckFalsePictureURL := 'imageCol1Y';
  end;

  if columnindex = 2 then
  begin
    TIWAdvWebGrid1.CheckTruePictureURL := 'imageCol2X';
    TIWAdvWebGrid1.CheckFalsePictureURL := 'imageCol2Y';
  end;
end;