Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSourceDateField strange behaviour in smartgwt 2.1

    Hi,
    I created datasourcedatefiled in datasource and added that to the listgrid filed. It is retriving data and saving data correctly. My problem here when I double click on the cell and when I exit out of the cell, the data in that cell is getting erased.

    My code is below..

    DataSourceDateField eventDate = new DataSourceDateField("eventDate", "Event Date");


    The properties of Listgrid is set like this..
    setAlternateRecordStyles(true);
    setHoverWidth(200);
    setHoverHeight(20);
    setSelectionType(SelectionStyle.SINGLE);
    setCanEdit(true);
    setModalEditing(true);
    setEditEvent(ListGridEditEvent.DOUBLECLICK);
    setListEndEditAction(RowEndEditAction.NEXT);
    setAutoSaveEdits(false);

    and the listgridfiled is like this

    ListGridField currLogDate = new ListGridField("eventDate");


    Please let me know how can I solve this. I am using smartgwt 2.1 and IE6.

    Thanks in advance for any help
Working...
X