1 Reply Latest reply on Jan 23, 2009 8:06 PM by ntsiii

    Formatting a field before committing from editable datagrid

    EricJ32 Level 1
      Hi,

      I have an editable DataGrid which displays two columns, date and value. Now, the date in the dataProvider is actually stored as an integer (yyyymmdd) so I format it using a labelFunction to display. I then have a custom itemEditor to set it to a date for calling into the DateField.

      The next step, and where I'm struggling, is to update the dataProvider with an integer (yyyymmdd) calculated from the selectedDate. Can someone please help me with how to do this?

      Thanks!