Data Tables with Ajax Source : Examples
Data Tables with Ajax Source : Examples
Vasantha
Posts: 2Questions: 0Answers: 0
Hi All,
I am new to data tables and exploring different data sources. I am currently using DOM as data source and getting 'stop running this script?' warning in IE, for 3000+ records. I have tried using the latest data table version but it did not help to get rid of this warning.
So, I am trying to change the data source to Ajax Source and looking for examples to start with. We are using java for server side and could not find any example with server side implemented in java.
My requirement is as below:
I have one input field with submit button. On click of submit, I have to fetch the data based on the input entered and fetch the results from the database and render it on the screen (with pagination and search).
I would like to know how the server and client interaction happens with 'Ajax Source'. Specifically, how to pass the input parameter to the ajax request and how to pass the JSON response from the servlet back to the results page.
Any pointers to the examples would be of great help.
Thanks & Regards,
Yong
I am new to data tables and exploring different data sources. I am currently using DOM as data source and getting 'stop running this script?' warning in IE, for 3000+ records. I have tried using the latest data table version but it did not help to get rid of this warning.
So, I am trying to change the data source to Ajax Source and looking for examples to start with. We are using java for server side and could not find any example with server side implemented in java.
My requirement is as below:
I have one input field with submit button. On click of submit, I have to fetch the data based on the input entered and fetch the results from the database and render it on the screen (with pagination and search).
I would like to know how the server and client interaction happens with 'Ajax Source'. Specifically, how to pass the input parameter to the ajax request and how to pass the JSON response from the servlet back to the results page.
Any pointers to the examples would be of great help.
Thanks & Regards,
Yong
This discussion has been closed.