Re: [Microba-controls] Help Needed for DatePicker
Brought to you by:
michaelbaranov
|
From: Rajiv J. <raj...@gm...> - 2010-12-09 11:23:26
|
Hi Michael, I managed to fix the problem. Actually the real problem was datepicker when used within table cell, as soon as calendar panel pops up jtable used to fire editingstopped , so selected date didn't appear in the cell. (this was particularly happening when used within my project having lots of customization), However in small standalone application i was not able to replicate this problem. I finally made setDropDownFocusable to false, now jtable cell dint loose focus and no editing stopped gets fired. I hope what I have done is correct (not sure , but working as of now) .. Thanks Rajiv Jha On Fri, Dec 3, 2010 at 7:51 PM, Michael Baranov <mic...@gm...>wrote: > Please post a standalone short example so I can help you. > Michael. > > On Fri, Dec 3, 2010 at 6:02 AM, Rajiv Jha <raj...@gm...> wrote: > >> Hi, >> >> I am using DatePickerCellEditor for one of my cell in a Jtable. >> The type of that column is Date. However it seems DatePickerCellEditor >> returns String after picking a date. >> >> Please let me know. If i can anyhow get date object instead of string from >> DatePickerCellEditor. >> >> >> Thanks >> >> Rajiv >> >> >> ------------------------------------------------------------------------------ >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! >> Tap into the largest installed PC base & get more eyes on your game by >> optimizing for Intel(R) Graphics Technology. Get started today with the >> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. >> http://p.sf.net/sfu/intelisp-dev2dev >> _______________________________________________ >> Microba-controls mailing list >> Mic...@li... >> https://lists.sourceforge.net/lists/listinfo/microba-controls >> >> > |