You can use the InitEdit
event of your view to change the mask for AEdit given as parameter since the default editor is TcxCustomMaskEdit. The needed column might be resolved from AItem.Index the Row can be found through Sender.DataController, depending of your databinding.
procedure TForm3.cxGrid1DBTableView1InitEdit(
Sender: TcxCustomGridTableView; AItem: TcxCustomGridTableItem;
AEdit: TcxCustomEdit);
begin
if AEdit is TcxCustomMaskEdit then // default editor if no other editor defined
begin
// your condition for row and column (here just toggeling)
if ( Sender.DataController.FocusedRecordIndex AND 1) = 1 then
TcxCustomMaskEdit(AEdit).Properties.EditMask := '###..####'
else
TcxCustomMaskEdit(AEdit).Properties.EditMask := '******';
end;
end;