AnsweredAssumed Answered

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

Question asked by sarahclark on Jul 28, 2014

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.

Outcomes