Assign a column as dgrid's row id, without using store?

408
0
07-28-2014 03:56 PM
by Anonymous User
Not applicable

In OnDemandGrid, when creating a data store there is a property where you can assign one of the columns in your data store as the row id column, e.g.:

var memStore = new Memory({

   data : data,

   idProperty : 'OBJECTID'

});

Because of bugs I was encountering using OnDemandGrid I switched to just Grid and using grid.renderArray(data). But is there a way using Grid to assign a column to be used for the row ids instead of them being assigned automatically? I've been unable to find anything in the documentation or forums.

Tags (1)
0 Kudos
0 Replies