how to set a different timeout?

how to set a different timeout?

marco.digioiamarco.digioia Posts: 8Questions: 4Answers: 0

Hi,

i need to change the timeout wait for a page, now is set on 30 second but i need more time to elaborate the records.

Thanks

Answers

  • allanallan Posts: 52,724Questions: 1Answers: 8,070 Site admin

    Do you mean an Ajax timeout when loading the data from the server via ajax or something else?

    Allan

  • marco.digioiamarco.digioia Posts: 8Questions: 4Answers: 0

    this is the code:

        ajax: "pages/masterdata/templates/php/table.masterdata.php",
        scrollY:        tabella,
        deferRender:    true,
        scroller:       true,
        scrollX:        true,
        dom:            'Bfrti',
    
  • allanallan Posts: 52,724Questions: 1Answers: 8,070 Site admin
    ajax: {
      url: "pages/masterdata/templates/php/table.masterdata.php",
      timeout: 60000
    }
    

    can be used to specify your own timeout. The above is for 1 minute.

    Allan

  • adarshmadrechaadarshmadrecha Posts: 3Questions: 0Answers: 0

    How to handle timeout?

  • tangerinetangerine Posts: 2,775Questions: 22Answers: 325

    How to handle timeout?

    What do you mean?

  • DamoclesDamocles Posts: 1Questions: 0Answers: 0
    edited April 24

    He might ask about if the timeout happens, what will datatable does or return?

  • colincolin Posts: 9,856Questions: 0Answers: 1,635

    @adarshmadrecha There are a few SO threads that should help - here and here.

    Colin

Sign In or Register to comment.