Published: 17 Jan 2018 › Updated: 17 Jan 2018
Customizing Jquery DataTables using java class
This Program can customized the jquery data tables using java class.
Jquery data tables used to display data on web pages using json data format
Benifits:
- maximize performance
- POJO Mapping
- Custom Search
- Customizing parameter
Program: DataTablesTO.java
package beans;
import java.util.List;
public class DataTablesTO<T> {
private List<T> aaData;
private String aoColumns;
private int sEcho;
private Integer iTotalRecords;
private Integer iTotalDisplayRecords;
public List<T> getAaData() {
return aaData;
}
public void setAaData(List<T> aaData) {
this.aaData = aaData;
}
public String getAoColumns() {
return aoColumns;
}
public void setAoColumns(String aoColumns) {
this.aoColumns = aoColumns;
}
public int getsEcho() {
return sEcho;
}
public void setsEcho(int sEcho) {
this.sEcho = sEcho;
}
public Integer getiTotalRecords() {
return iTotalRecords;
}
public void setiTotalRecords(Integer iTotalRecords) {
this.iTotalRecords = iTotalRecords;
}
public Integer getiTotalDisplayRecords() {
return iTotalDisplayRecords;
}
public void setiTotalDisplayRecords(Integer iTotalDisplayRecords) {
this.iTotalDisplayRecords = iTotalDisplayRecords;
}
}
Hope you Like my post !
Leave Customizing Jquery DataTables using java class to:
Read more #java posts
Best Posts From ravik2492
We have not curated any of ravik2492's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From ravik2492
- Statue of Unity - It is four times as tall as the Statue of Liberty.
- What a choice ? words for her !
- feeling love with his bike
- LOLD
- Can't swim
- When eating a banana
- Besties NAGA BABA
- Customizing Jquery DataTables using java class
- Run multiple OS on a single machine using VMware WorkStation
- All amazing google tricks