PDA

View Full Version : Want to add buttons to date picker



ppatel2
8 Jul 2013, 10:38 AM
Hi,

I am trying to create a custom date picker for my roweditor grid. And I want to add some buttons to the datepicker. On the button click event the date field will be updated with the text values displayed on the button in the attached image. I will handle the validation on those text values. Can anyone please tell me how can I achieve this using ExtJS4.2.1

44780

Thanks,
Parth

AssetWorks
8 Jul 2013, 11:57 AM
you can overwrite or extend the picker.date to include those buttons there
so now they have a "Today" button.
simply add more buttons in the the way that the Today button is