AnsweredAssumed Answered

dojox/grid/DataGrid identifier Unique

Question asked by nmandava6442 on Apr 23, 2015
Latest reply on Apr 23, 2015 by rscheitlin

Hello,

 

I'm trying to bind the data to dojox/grid/DataGrid, but there is no unique identifier in my data. Please suggest me how to handle this?

 

Or How do I create an unique identifier on the fly to my data?

 

  //Create data object to be used in store

                 var data = {

                     identifier: "ASSETID", //This field needs to have unique values

                     label: "ASSETID", //Name field for display. Not pertinent to a grid but may be used elsewhere.

                     items: items

                 };

Thanks.

Outcomes