-
16 Dec 2009 1:56 AM #1
Datapicker component
Datapicker component
We need a new feature on the Datapicker component, we need to be able to set a Date as a bank holiday or weekend or any other special day using different styles. Any suggestions?
Thanks in adavance for any help
-
16 Dec 2009 5:51 AM #2
you can extend the DatePicker class and add:
a) for weekend:
make a list for weekdays and the stylename and if it is disabled
b) for special days
make a list for dates and the stylename and if it is disabled
then overwrite this method to your needs:
PHP Code:private void setCellStyle(Element cell, Date d, long sel, long min, long max) {
if you have a solution pls post the code.This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041


Reply With Quote