Steps to reproduce:
- Go to the following demo: https://demos.devexpress.com/ASPNetCore/Demo/Reporting/Charts/;
- Open a designer;
- Follow the steps from the attached screencast.
Additional information:
Call Stackreporting.thirdparty…CDDUVwDVmYqFzaJR4:6 Uncaught TypeError: Unable to process binding "dxSelectBox: function(){return{dataSource:e.$data.generateViewItems(),itemTemplate:"stateItem",valueExpr:"value",value:e.$data.generateHeaderValue(e.$root.undoEngine),displayExpr:"displayValue",disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}"
Message: e.$data.generateViewItems is not a function
at dxSelectBox (designer.part.bundle…tYE2SyeY:37:1277607)
at l (reporting.thirdparty…DVmYqFzaJR4:6:34792)
at reporting.thirdparty…DVmYqFzaJR4:6:36213
at viewer.part.bundle.m…IpuqhqdM:19:3204205
at Function.yd (reporting.thirdparty…DVmYqFzaJR4:6:24882)
at Function.zd (reporting.thirdparty…DVmYqFzaJR4:6:24575)
at Function.ha (reporting.thirdparty…DVmYqFzaJR4:6:24406)
at s.o.s.$ (reporting.thirdparty…DVmYqFzaJR4:6:23165)
at t.onInitializing (viewer.part.bundle.m…IpuqhqdM:19:3204165)
at t._createOptions (viewer.part.bundle.m…IpuqhqdM:19:2865869)
Anyone have a solution? Seeing the same thing on chart -> series section.
code-to-inject.js:46 TypeError: Unable to process binding "dxSelectBox: function () { return { 'dataSource': $context.$data.generateViewItems(), 'itemTemplate': 'stateItem', 'valueExpr': 'value', 'value': $context.$data.generateHeaderValue($context.$root.undoEngine), 'displayExpr': 'displayValue', 'disabled': $context.$data.disabled, 'dropDownOptions': { 'container': $context.$root.getPopupContainer($element) }, 'useItemTextAsTitle': true }; }"
Message: $context.$data.generateViewItems is not a function at dxSelectBox (dx-designer-bindings.js:28:422) at e (knockout-latest.js:75:141) at knockout-latest.js:78:48 at knockout__WEBPACK_IMPORTED_MODULE_1___default.computed.disposeWhenNodeIsRemoved (component_registrator.js:53:53) at Function.yd (knockout-latest.js:55:359) at Function.zd (knockout-latest.js:55:45) at Function.ha (knockout-latest.js:54:384) at a.o.a.$ (knockout-latest.js:52:147) at inheritor.onInitializing (component_registrator.js:52:25) at inheritor._createOptions (component.js:106:40)
Hi Axar,
I'm sorry to hear you've also encountered this issue. We are already in the testing phase of a potential solution and will update this ticket as soon as we have results. Please track the updates in this ticket.
Best regards,
Boris