Bug Report T615903
Visible to All Users

The "Cannot create property 'summary' on string 'success'" error occurs when the infinite scrolling is used and the grid gets its data source from an AJAX request

created 7 years ago (modified 7 years ago)

[DevExpress Support Team: CLONED FROM T600250: DataGrid - Pages not loading on Android in AngularJS]
Hi Gosha,

Thanks for the explanation. You were right about the angular controller. I didn't attach the created datasource as controller to the angular module "DemoApp".

I've tried your sample, but the same error persists. I can see you can't access my JSOn web service because of the Cross Origin restrictions. I've included a dump of the result as a json file and set the datasource's URL to this .json file. The same error is keep poppuing up.

"Cannot assign property "summary" on "success" in dx.all

It works just fine in Internet Explorer 11, but doesn't seem to work in Chrome and FireFox.

I've attached the sample which doesn't rely on the web service.

Many thanks in advance,

[The attachment has been removed by the DevExpress team for privacy reasons]

Comments (1)
DevExpress Support Team 7 years ago

    Thank you for your code. I've managed to reproduce the issue with it. I can also reproduce this issue with the Ajax Request demo if I enable infinite scrolling. See the CodePen sample. We will research this issue. Watch for our updates in this thread. At the moment, set the CustomStore loadMode option to "raw":

    JavaScript
    var dataSource = { store: new DevExpress.data.CustomStore({ load: function () { return $.getJSON("./T600250.json"); }, loadMode: "raw" }) }

    Answers approved by DevExpress Support

    created 7 years ago (modified 7 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (3)
      DevExpress Support Team 7 years ago

        We have published the requested patched build and are looking forward to hearing about your results. Meanwhile, we would like to mark this ticket as Public, if you do not mind, to include it in the What's New lists for future maintenance updates.

          Thnak you, I'll try the hotfix.
          If you can remove the attached sample project from the initial post, you may put it on public.

          Alex Skorkin (DevExpress) 7 years ago

            Thank you. I've removed your attachments and made this thread public. I appreciate your cooperation.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.