SORT EVENT

SORT EVENT

corleone1218corleone1218 Posts: 8Questions: 1Answers: 0
edited March 2013 in DataTables 1.9
hi,

Im using server side datatable and just want to know if i can capture the said event when a user clicked it?

thank you in advance.

Replies

  • corleone1218corleone1218 Posts: 8Questions: 1Answers: 0
    Just want to clarify. I want to capture the event from the server.

    thanks again
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The event from the server? But it is the client that triggers the event and the server replies to it. Perhaps fnDrawCallback will do what you want. If not, please explain your use case further.

    Allan
  • corleone1218corleone1218 Posts: 8Questions: 1Answers: 0
    Sorry about it.

    What im trying to do is to separate the process of 'pagination' from the 'sort' process when the server receives the call.

    Is there any way or any flag which i can use from the server to know if the client request is a sort process?

    thank you..
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    > Is there any way or any flag which i can use from the server to know if the client request is a sort process?

    No - if you are using server-side processing (which you indicate in your first post), then the server much always do filtering, paging and sorting. There is not a separate request for each type.

    Allan
  • corleone1218corleone1218 Posts: 8Questions: 1Answers: 0
    ah i see. many thanks Allan.
This discussion has been closed.