by raghun » Wed Nov 21, 2007 4:38 am
I tried using DateConvertor, I am able to convert the date to MM/dd/yyyy format, but it is setting the value in the table cell only once.
Now once the Date is set in the cell ,if now we click on the cell it gives error, because i have set the CellEditor as DateCellEditor and the formatted date that i have from DateConvertor is in String format.
So i am setting String in cell for the first time ,but as i click on the cell next time it gives error because it needs a Date.
Can you please help me formatting a date in MM/dd/yyyy format that returns a Date object and not a String.
As all the DateFormat method's ,SimpleDateFormat("MM/dd/yyyy") and all return a String.........!!