ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: Param Query Eval on March 10, 2020, 03:13:41 pm

Title: Auto unique identifier field for JSON data
Post by: Param Query Eval on March 10, 2020, 03:13:41 pm
Do we have any option to configure for pqGrid to inject unique identifier field for each row.
For example, to track grid changes, it is required to give a unique identifier of each row in dataModel property of recIndx.
Also in treeModel, it is expected to a field which stores unique identifier of each row.

Is there any way to configure for pqGrid to make unique identifier internally for each row in absence of "Id" field.[We don't get any identity field in JSON data from service. If pqGrid has any such option then we don't required to iterate and set id field manually].
Thanks!
Title: Re: Auto unique identifier field for JSON data
Post by: paramvir on March 10, 2020, 10:49:43 pm
There is no such option in grid, you have to do it manually.
Title: Re: Auto unique identifier field for JSON data
Post by: Param Query Eval on March 11, 2020, 11:58:31 am
Okay, thanks!