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: 61,446Questions: 1Answers: 10,054 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: 61,446Questions: 1Answers: 10,054 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: 3,342Questions: 35Answers: 394

    How to handle timeout?

    What do you mean?

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

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

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

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

    Colin

This discussion has been closed.