I have a lot of data, when I config field and click apply button, the chrome console show "Cannot read property 'uniqueName' of undefined", thank you for helping me out.

Resolved

Uncaught TypeError: Cannot read property ‘uniqueName’ of undefined
at H9F._sortByCaptionOptimized (webdatarocks.js:6)
at H9F.sortByCaption (webdatarocks.js:6)
at H9F.sortChildren (webdatarocks.js:6)
at S9G.fillRowChildren (webdatarocks.js:6)
at S9G.fillRowTuples (webdatarocks.js:6)
at S9G.fillRowChildren (webdatarocks.js:6)
at S9G.fillRowTuples (webdatarocks.js:6)
at S9G.prepare (webdatarocks.js:6)
at S9G.load (webdatarocks.js:6)
at S9G.onQueryComplete (webdatarocks.js:6)

3 answers

WebDataRocks Team WebDataRocks May 7, 2019

Hello,
Thank you for writing to us.
Could you please provide us with the code example where the issue is reproducible?
That will help us a lot to find a suitable solution for you.
Waiting to hear from you.
Regards,
WebDataRocks Team

zgq456 May 13, 2019

code is as sample as below, the key is the data, which cause error when data size is greater than 1100. the column whose value is unique to be chosen as row or column will reproduce . 

this.pivot = new WebDataRocks({
container: "#wdr-component",
toolbar: true,
report: {
data: this.holdingListData,
slice: {
expands: {
expandAll: true
}
}
},
global: {
localization: "/static/webdatarocks/loc/cn.json"
}
});
WebDataRocks Team WebDataRocks May 15, 2019

Hello,
Thank you for posting additional details.

If you exceed the limit of 1 MB, we recommend considering Flexmonster which is a premium pivot table component developed by the same team. It does not have such limitation.
Hope it helps.
 
Regards,
WebDataRocks Team

Please login or Register to Submit Answer