ajaxReload - All Rows are Selected

ajaxReload - All Rows are Selected

JohannesWehmeyerJohannesWehmeyer Posts: 3Questions: 1Answers: 0

Hi people,

i often have to reload the ajax from my server-side script based on external parameters. When i get the result and the table is drawn all rows get automatically selected. Why could this happen? Any ideas?

i would be happy if someone coul give me a hint...

Answers

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    We would need a test case showing the issue please. Using ajax.reload() should not automatically select the rows.

    Allan

  • JohannesWehmeyerJohannesWehmeyer Posts: 3Questions: 1Answers: 0
    edited April 2016

    Hi Allan,

    Thank's for your reply!

    Selecting also hapepns on ordering the columns...

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    Thanks for the link. Unfortunately it isn't loading data at the moment:

    Failed to load resource: the server responded with a status of 500 (Internal Server Error) - http://www.windenergie-online.de/we/portal/api/get.asp

    Allan

  • JohannesWehmeyerJohannesWehmeyer Posts: 3Questions: 1Answers: 0

    you have to press f5 1 time then it's working...

    But i think i got it solved on my local copy so far by updating to the latest version of Datatables. (next time i will do that wirst... sorry! )

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    No problem - good to hear you have it working now.

    Allan

This discussion has been closed.