Bug in DataTable date editor?

Hi

I have an editable datatable, one column has a “date” editor with the following settings

{"id":"warranty","header":"Warranty Expires","width":120,"editor":"date","format":"%Y-%n-%d","stringResult":"true"}

but I seem to be getting odd results. When editing an existing row, it works fine and I get a date as 2014-12-23, but if I add an new row with

var row_id = $$("asset_table").add({});
$$("asset_table").editRow(row_id);	

The data format shows as “Tue Dec 23 2014”.

As an example, please see the screenshot below

Is this a bug, or am I doing something incorrect.

As a side note, when the editRow() is activated, the Date editor automatically pops-up, even if I’m not actually focused on that field.

Thanks

(1) I can confirm the issue. By default date editor returns date object, not a string. It will return a string if the original value of a cell was a string. So it works for the existing string, but returns an object for new rows.

Starting from the next build, date editor will recognize the stringResult option in the column’s configuration. So it will work correctly with the above code.

(2) This is expected result. All editors in the row are activated.