[CLOSED] Export BADRESPONSE - Grid Command

  1. #1

    [CLOSED] Export BADRESPONSE - Grid Command

    Hi all,

    I want to export data from dataTable to an excel file.

    There is no error when I use an ext:button. But in my case, I want to call the Export function from the grid's row command.
    In this case, a BADRESPONSE alert arised.

    How can I solve this problem?

    Thanks in advance.
    Last edited by Daniil; Apr 10, 2013 at 3:02 PM. Reason: [CLOSED]
  2. #2
    Hi @FpNetWorth,

    Do you call a DirectMethod?

    If so, you should set up "isUpload: true" in a config object.
    App.direct.Export(/* params if exists */, { isUpload: true });
  3. #3
    Thank you Daniil.

    Please feel free to mark this thread as closed.

Similar Threads

  1. [CLOSED] [MVC] Export Excel return "BADRESPONSE: Unexpected token <"
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 02, 2012, 3:05 PM
  2. Replies: 0
    Last Post: May 12, 2012, 11:24 AM
  3. Replies: 1
    Last Post: Apr 19, 2010, 2:44 PM
  4. Replies: 2
    Last Post: May 15, 2009, 9:41 AM
  5. Grid Command
    By marciocxs in forum 1.x Help
    Replies: 1
    Last Post: Apr 14, 2009, 5:27 PM

Posting Permissions