Membuat tanggal default prompt date:
drag Date Prompt kedalam body page,
drag HTML Item dan pastekan syntax berikut:
<script language="javascript">
var dDate = new Date();
dDate.setDate(dDate.getDate()-1);
pickerControlStartDate.setValue(getFormatDate(dDate, 0, 'YMD'));
</script>
kemudian klik pada bagian prompt date dan scroll kebawah dibagian Properties
untuk properti Name beri nama: StartDate
Outputnya prompt date akan tampil dengan nilai default tanggal H-1.
createdBy. @aankdavid
Wednesday, May 16, 2012
step for coloring on grid table
go to Condition Explorer >
create Boolean Variable and paste below function on expression definition:
mod (RowNumber (),2)
go to Page Explorer >
select cell on crosstab
on properties, define Style Variable >
chose Variable Boolean1
chose 'Yes' on Boolean1 when you click Condition Explorer
and change background color to red
chose 'No' on Boolean1 when you click Condition Explorer
and change background color to pink
finish.
createdBy. @aankdavid
create Boolean Variable and paste below function on expression definition:
mod (RowNumber (),2)
go to Page Explorer >
select cell on crosstab
on properties, define Style Variable >
chose Variable Boolean1
chose 'Yes' on Boolean1 when you click Condition Explorer
and change background color to red
chose 'No' on Boolean1 when you click Condition Explorer
and change background color to pink
finish.
createdBy. @aankdavid
Subscribe to:
Posts (Atom)