Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Browser freeze with Page Unresponsive alert box when try to export grid data using exportClientData() when no of rows are greater than 500

    Click image for larger version  Name:	2021-06-10 10_38_17-[DEV-3469] Zoneid_ 10502 issues with downloading Observer Summary Report Grid on.png Views:	0 Size:	18.9 KB ID:	265651

    We are using SmartClient Ajax RIA system Version v12.1p_2021-05-18/PowerEdition Deployment (2021-05-18)

    IS there any way to fix this issue for export using exportClientData()?

    Also is there any threshold limit for the number of rows that exportClientData() support?

    We are using Google Chrome Version 91.0.4472.77 and os is windows 10

    This is how our request looks like

    exportOpts = {
    exportAs : "ooxml",
    exportDisplay : "download",
    exportFilename : EXPORT_FILENAME + ".xlsx",
    message : "Excel",
    exportDatesAsFormattedString : true
    };

    _gridObject.exportClientData(exportOpts, function() {
    _exportPrintCallback({
    success : true,
    message : ""
    });
    });


    Please help us to get an answer to these questions that we have


    Last edited by kmbilal; 10 Jun 2021, 10:24.

    #2
    exportClientData is performed asynchronously in batches of 50 records to avoid triggering dialogs like this. So this suggests that you have a formatCellValue() or similar override that is extremely, extremely slow or perhaps just outright crashing (infinite loop).

    You should use the browser profiler and debugger to figure out where the issue is.

    Comment


      #3
      ok sure will check .

      code we use is been woking fine for almost 4 yrs also its working fine even now in Safari / Firefox in both in windows and mac. issues started recently (~2m) and specifically in chrome browser.

      so is that anything specific to Chrome ?

      we checked this forum post https://forums.smartclient.com/forum...es-chrome-edge
      and added transport : "xmlHttpRequest" while requesting exportClientData() but still we see issue.

      exportOpts = {

      exportAs : "ooxml",

      exportDisplay : "download",

      exportFilename : EXPORT_FILENAME + ".xlsx",

      message : "Excel",

      exportDatesAsFormattedString : true,

      transport : "xmlHttpRequest"

      }


      _gridObject.exportClientData(exportOpts, function() {
      _exportPrintCallback({
      success : true,
      message : ""
      });
      });

      thanks for your support its show stopper for us now.any help is appreciated thx .

      Comment


        #4
        We've explained what to look into. If you want more in depth help with "show stopper" issues, please renew your support.

        Comment


          #5
          i thought its bug in smartclient side as its working in other browser except chrome/edge and looking on to it https://forums.smartclient.com/forum...es-chrome-edge.

          we recently upgraded (SmartClientV12+ from 11) /purchased so support didn't cover that ? sorry if am incorrect

          Comment


            #6
            any update we can get on this ?

            Comment


              #7
              There is nothing to update. You do not have support, we have provided the suggestion to do profiling, and you have not provided a test case indicating a bug.

              Comment


                #8
                ok sure will get you the test case . also what kind of support i need to get is it basic ?

                Comment


                  #9
                  You should purchase whichever support plan has the responsiveness and guarantees you need.

                  Comment

                  Working...
                  X