ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: jjestrellaa on July 09, 2019, 08:47:31 pm
-
I can't expand a tree branch after expanding one already. Getting error "duplicate id".
The default data has 3 branches and the first query is the 4th and final branch. I can get the data on the first expansion of the 3rd branch, but if i try to expand another 3rd branch i get the error.
See attachments
-
Treegrid is supposed to have one column with unique values.
Error is thrown when the values are not unique in that column.
Please see treeModel.id
https://paramquery.com/pro/api#option-treeModel
-
Same data and it works on PQGrid 4. Doesn't work on PQGrid 6
Treegrid is supposed to have one column with unique values.
Error is thrown when the values are not unique in that column.
Please see treeModel.id
https://paramquery.com/pro/api#option-treeModel
-
There is no check for duplicate ids in v4
-
I have Id column and the values are unique. That's the value i'm passing on the sql query.
It's on the second request where things fail.
There is no check for duplicate ids in v4
-
Could you please share a jsfiddle so that I can check it.
-
....Yep I see the issue.
Data is returning the same Id for the next results
we can close this.