Flexigrid is a one type of J-Query grid.its a light weight but rich data grid with resizable columns and a scrolling data.In this grid we can use any data types like JSON,XML & etc..
In our example all the process are happen in server side( for example Id /name based Ascending, Descending ).
Download the war file then extract and use it .war(javaflexigrid1.war)
Modify your connection string like
public static Connection getConnection() throws Exception {
String driver = "com.mysql.jdbc.Driver";
String connection = "jdbc:mysql://localhost:3306/grid";
String user = "root"; //your db username
String password = ""; //your db password
Class.forName(driver);
return (Connection) DriverManager.getConnection(connection, user,
password);
}
Example application Structure
The Output is appear like this
No comments:
Post a Comment