Over write method displayOption di Datasource.
Contoh :
public void displayOption(Common _record, FormRowDisplayOption _options)
{
PSMLeadTimeItem psmleadtimelocal;
//super(_record, _options);
psmleadtimelocal = _record as PSMLeadTimeItem;
if(psmleadtimelocal.min == 0)
_options.backColor(WinApi::RGB2int(255,255,0));//jadi kuning
else
_options.backColor(WinAPI::RGB2int(255,255,255));
}
Tidak ada komentar:
Posting Komentar