Unfortunately, .getTextBox().setReadOnly(true) doesn't work, as the DatePicker still shows when clicking on the field.
However, I now realise that doing setEnabled(false) and setting some CSS, it's only IE that ignores the CSS and shows the nasty, hard to read, shadowed text. But I say, bad luck to IE users, they should just switch to a different browser! :-)
On Thursday, 17 January 2013 14:59:01 UTC+11, 彭振友 wrote:
.getTextBox().setReadOnly(true);hope that help you。