-
Sencha User
Date picker
How to remove this above part from date pickerScreen shot 2012-08-28 at 8.20.16 PM.png
-
Sorry for the confusion, but what exactly are you trying to remove from the Date picker? Are you saying that you only want to see the month/year selection with no days of the month?
-
Sencha User
In the right side of the date picker field a drop down symbol is there,
After clicking on that drop down , no of option like month name and year ,two button i.e "ok" and "cancel" button comes.I want to disable that options in my application.
Please reply.
-
You would need to override the datePicker and remove the MonthBtn from the template.
There are also several references in the functions below.
Ext.override(Ext.picker.Date, {
// functions to override.
});
Scott.
-
Sencha User
This code will do for you
Ext.override(Ext.picker.Date, {
showMonthPicker: function(){}
});
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules