sortable:true,
sortorder :'asc',
This is the first of three parameters JSP pages
sortname role of this keyword is to click on the header to sort the table when the head of the column names
sortable This effect keyword is whether to allow movement of the header is the header that can drag
sortorder This parameter is the beginning of default sort is certainly the first click Sort of the way when
-------------------------------------------------- ---------------------------------------------Dividing line--- -------------------------------------------------- -------------------------------------------------- ----------------------------
String cord = (String) req.getParameter("sidx");
String sord = (String) req.getParameter("sord");
Then the two are two arguments here, for example, I wrote cord This parameter is the ORDER BY (cord) are sorted according to the field
This parameter is sord ORDER BY (cord) (sord) positive sequence or ordered manner flashback
These two parameters get back to the sql statement, of course, can be realized without the use of a different development model
-------------------------------------------------- ----------------------------------------------Dividing line-- -------------------------------------------------- -------------------------------------------------- ------------------------ also Ranking is loadonce this ranking method that only needs to be set in the JSP is true, of course there are drawbacks can not use this in the future because this is only a trial to flip a one-time loading data above are per-click is first loaded
The new notes is incorrect exhibitions