-
8 Oct 2012 2:17 PM #1
Unanswered: Ext.picker.Date: anyway to show special dates?
Unanswered: Ext.picker.Date: anyway to show special dates?
I want to be able to show special days (i.e. pay dates or company holidays) with css and possibly with a hover. There was a ux that did this in Ext 2.x, but would like to have this functionality available. Does anyone know if this can be done?
If not, I'm surprised this hasn't been asked for yet and would think this should be in the Ext.picker.Date class by default.
-
10 Oct 2012 9:38 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,117
- Vote Rating
- 454
- Answers
- 3159
So you want control of what CSS classes to put on each day cell?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Oct 2012 12:53 PM #3
Yes, you're dead on. For example, visually display that Labor Day is a holiday if I give some type of array or config of special events as input.
Maybe something like this:
As of right now, there is no control of specific dates. I either want to display visually or even disable on Ext.picker.Date when necessary.Code:events: [ { name: 'Christmas', extraCls: 'holiday christmas', date: '12/25/2012'} { name: 'New Year\'s Day', extraCls: 'holiday', date: '01/01/2013'} ]
-
25 Oct 2012 11:23 AM #4
Bump? I would think at least the dates should be labeled with some sort of date css by default. That way at least I can override the css.
Might have something likeCode:<td id="ext-gen1250" role="gridcell" class="x-datepicker-active" title="October 24, 2012">
Code:<td id="ext-gen1250" role="gridcell" class="x-datepicker-active 2012-10-24" title="October 24, 2012">
-
14 Nov 2012 11:04 AM #5
Bump. Anyone have an idea?
-
18 Jan 2013 1:51 PM #6
So I'm guessing there's no solution? I would think this should be in the widget. I can't believe no one else wants this usage.


Reply With Quote