0

Time Box value not Clearing

asked 2012-09-12 08:00:37 +0800

ommpavan gravatar image ommpavan
231

hai
i am trying to clear the timebox value like
Timebox timebox = (Timebox) component; ------------------------ A
if(isClearComponents){
timebox.setValue(null);
timebox.setText("");
}

i am setting values first by one event then i execute above code time box is clearing but once i click and select value from time box then i call above code it is setting 12:00:00 AM but i want to show empty value .Replay me urgent

E.g like

Timebox timebox = (Timebox) component;
timebox .setValue(new Date());

then call ----------- -A (here we can see Empty value)
Now change time box value
then call ------------ A (here we can see 12:00:00 AM value)

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-09-12 08:00:37 +0800

Seen: 74 times

Last updated: Sep 13 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More