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.