Posted Thursday, February 5, 2009 @ 09:28:53
Hello,
I would like to avoid displaying the date picker (for a read-only column). This does *not* show the picker:
dbTable.setSelectSql("select PNAME, DATE_TIME from PATIENT"); // query 1
dbTable.refresh();
Column col = dbTable.getColumn(0);
col.setReadOnly(true);
col = dbTable.getColumn(1);
col.setReadOnly(true);
However, if I use instead
dbTable.setSelectSql("select DATE_TIME, PNAME from PATIENT"); // query 2
the date picker is shown! I could use query 1 and do moveColumn(0, 1) to get the desired column order without showing the data picker. Anyway, this looks like a bug or feature that should not be there.
Best regards,
- Jori