1 Reply Latest reply on Feb 13, 2013 12:31 PM by UdayaShankaraGandhi

    datepicker not working in jtable

      Hi ,

      I have used DatePickerCellEditor for a cell in Jtable. When I select a date from the popup calender, the date with "dow mon dd hh:mm:ss zzz yyyy" format is displayed. I want to change it to date format (yyyy-MMM-dd). I did try doing by

      DateFormat formatter ;

      formatter = new SimpleDateFormat("yyyy-MMM-dd");

      DatePickerCellEditor datePicker = new DatePickerCellEditor(formatter);

      TableColumn po_date = tableModel.getColumnModel().getColumn(1);


      But it didn't work. Can anyone help me with this one?