Flexigrid part code
if ()
return false; // return if already exist
// apply default properties
p = $.extend({
height : 200, // The height of the flexigrid plugin, unit is px
width: 'auto', // width value, auto means that it is automatically calculated based on the width of each column
striped: true, // Whether to display the marking effect, the default is the form of parity interaction
novstripe : false,
minwidth: 30, // Minimum width of the column
minheight : 80, // Minimum height of column
resizable: true, // Is it scalable?
url : false, // The URL address corresponding to the ajax method
method: 'POST', // Data sending method
dataType: 'xml', // The type of data loading
checkbox: false,// Do you want to multi-box selection
errormsg: 'Connection error!',// Error message
usepager : false, // Whether to paginate
nowrap : true, // Whether to change the line
page : 1, // Default current page
total: 1, // Total number of pages
useRp : true, // Is it possible to dynamically set the number of results displayed on each page
rp: 15, // Default number of results per page
rpOptions: [5,10, 15, 20, 25, 30, 40],// You can select the number of results per page set
title: false,// Whether to include a title
pagestat: 'Show {from} to {to}, total {total} data',// Display the style of the current page and the total page
procmsg: 'Processing, please wait...',// Prompt message being processed
query : '',// Search query conditions
qtype : '',// Search query category
nomsg: 'No data exists!',// No result prompt information
minColToggle: 1, // The minimum number of columns allowed to be displayed
showToggleBtn: true, // Whether to allow display of hidden columns, this property has a bug set to false Click the head script to report an error
hideOnSubmit : true,// Hide submission
autoload : true,// Automatic loading
blockOpacity: 0.5,// Transparency setting
onToggleCol : false,// When converting between rows, the default implementation can be rewrite in this method, which is basically useless
onChangeSort : false,// When changing the sorting, you can rewrite the default implementation in this method and implement client sorting by yourself.
onSuccess : false,// Execute after success
onSubmit : false
// Call custom calculation function
}, p);