populate data in datatables based on user input.

populate data in datatables based on user input.

giridhargiridhar Posts: 20Questions: 4Answers: 0
edited January 2014 in DataTables 1.9
Hi friends,

Good day to you.

My name is giridhar,i have a doubt regarding data tables.

Iam getting data from controller to populate data in my datatables.

I need to get the data based on one input field(in my case customerid).

how should i achieve this.I tried but failed.

My jsp should contain an input field.Based on the input of the user i should display the data into datatable.

The input field and datatable should be independent to each other.


please help me.this is my code


$(document).ready(function() {
$("#user").dataTable({
"bProcessing" : true,
"bServerSide" : true,
"sAjaxSource" : "./CustomerService",
"sPaginationType" : "full_numbers",
"bPaginate" : true,
"bJQueryUI" : true,
"aaSorting": [[0,'desc']]
})
});






customerId:











CustomerName
Address
MobileNumber

Replies

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    This is the third time you have posted the same question.
  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Agreed. Please do not spam the forum or I will close your account.

    Frankly, you will not get a reply from me regarding your question unless you follow the forum rules.

    Allan
This discussion has been closed.