-
3 Mar 2010 6:23 AM #1
datepicker deselect value
datepicker deselect value
Hi all,
I have a treepanel and a datepicker. Now i want to deselect the selected date in the datepicker when the user selects a node in the treepanel, and deselect the selected node when the user selects a date in the datepicker.
How to accomplish this?
-
3 Mar 2010 11:50 PM #2
I know how to deselect a selected node of a treepanel.
I only need to know how to deselect a date in a datepicker.
Please help!
-
4 Mar 2010 6:08 AM #3
-
5 Mar 2010 7:24 AM #4
Bump.
Sorry, but i really need to do this.... i really wonder, someone never done this? Just deselecting (or is it 'unselecting'?) a date in a datepicker?
-
5 Mar 2010 7:34 AM #5
What would unselecting mean?
And what have you tried in the last 2 days?
I mean a tiny little LOOK at the DOM lets you do
To remove the selected class..... But then we have no idea what you actually want (but are failing to work towards doing)Code:myDatePicker.el.select(".x-date-selected").removeClass("x-date-selected");Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
8 Mar 2010 5:48 AM #6
Thanks Animal, i got it working now.


Reply With Quote