Beginner for Datatable -- Need urgent help.
Beginner for Datatable -- Need urgent help.
sadhat
Posts: 3Questions: 0Answers: 0
I used datatable in a java project where I retrieve the data from DB and saved it in arraylist and pass that array list to session. in JSP I am retrieving the data and displaying it but the problem is only one record is getting this datatable effect i.e. below it says "showing 1 to 1 of 1 entries". but I can see all 27 records and only one row is highlighted with color.
This discussion has been closed.
Replies
$('#table_id').dataTable();
} );
@import "CSS/demo_table.css";
This is body tag
<%
ArrayList arr = new ArrayList();
if (null != session.getAttribute("arr1")) {
arr = (ArrayList) session.getAttribute("arr1");
%>
Loan Id
Drawn Down Amount
Interest Rate
Loan Description
Loan Reference
<%} else {
}%>