Results 1 to 2 of 2

Thread: Datapicker component

  1. #1
    Ext User
    Join Date
    Dec 2009
    Vote Rating

    Default 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

  2. #2
    Ext User
    Join Date
    Sep 2008
    Vote Rating


    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 cellDate dlong sellong minlong 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts