What should be used for the writer config of a LABKEY.ext.Store (Ext3 version) | Leo Dashevskiy | 2013-07-03 14:21 |
Status: Closed | ||
I am trying to do an update, but it looks like it's doing an insert instead... I have an EditorGridPanel, its data being driven by a Labkey's store. I double click a cell and modify its contents, click else where, the editor goes away and the cell is marked as 'dirty'/modified with a small red rectangle in the top left corner, then I have a button and its handler calls the commitChanges() on that store... Could not save changes due to the following error: ERROR: duplicate key value violates unique constraint "pk_qatasklist" Detail: Key (qaid, container)=(1, d200e809-e4ad-102f-b2d1-1f5d89162b6e) already exists. I see there is a config option 'editable' for LABKEY.ext.EditorGridPanel - I am currently using the Ext.grid.EditorGridPanel, would using the Labkey one provide additional benefits, does it play nicer with the Labkey's store? To partially answer my own question about the benefits of Labkey's EditorGridPanel - immediate benefit is that it seems to offer paging out-of-the-box (though, I am getting some other errors with it) |
||