PDA

View Full Version : Calendar Control



offshoreteam
11 Apr 2013, 2:20 AM
Hi,

Can we customize the in-build calendar control? We want the calendar as shown in below image.

43076

slemmon
12 Apr 2013, 3:45 PM
You can definitely adjust the CSS for the components, datePicker included. You'll just need to inspect the dom in a developer toolset (Firebug, Chrome Dev Tools, etc) and create your own custom CSS.

Or, if you want to create a custom theme (http://docs.sencha.com/ext-js/4-2/#!/guide/theming) you can use Sencha Cmd to compile the CSS from SCSS using the datePicker's CSS Variables (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.picker.Date-css_var-S-datepicker-arrow-cursor).

lialisok
13 Apr 2013, 4:16 AM
Of course you can,, slemmon (http://www.sencha.com/forum/member.php?67514-slemmon) ;) is quite right,you can even change the size of the calendar