How Populate data in datatable based on user input field.
How Populate data in datatable based on user input field.
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
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
This discussion has been closed.
Replies
1. Do: Provide a link to the web-page your question is about.
2. Do not: Post the same question multiple times.
You followed neither rule. I have closed you other discussions and left this one open so you can provide a test case.
Allan