Flexigrid partial code code
if (t.grid)
return false; // return if already exist
// apply default properties
p = $.extend({
height : 200, // The height of the flexigrid plug-in, in px
width : 'auto', // Width value, auto means automatically calculated based on the width of each column
striped : true, // Whether to display the stripe effect, the default is the form of odd-even interaction
novstripe : false,
minwidth: 30, // The minimum width of the column
minheight: 80, // The minimum height of the column
resizable: true, // Whether it is scalable
url: false, // The URL corresponding to the ajax method Address
method: 'POST', // Data sending method
dataType: 'xml', // Type of data loading
checkbox: false, // Whether to use multiple checkboxes
errormsg: ' Connection error!', // Error message
usepager : false, // Whether to paginate
nowrap : true, // Whether to not wrap lines
page : 1, // Default current page
total : 1, //Total number of pages
useRp: true, // Whether it is possible to dynamically set the number of results displayed on each page
rp: 15, //The default number of results per page
rpOptions: [5,10 , 15, 20, 25, 30, 40], // Optional number of results per page
title : false, // Whether to include a title
pagestat : 'Show items {from} to {to } items, a total of {total} items of 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 message
minColToggle: 1, / / The minimum number of columns allowed to be displayed
showToggleBtn : true, // Whether to allow the display of hidden columns, there is a bug in this attribute. Set it to false. Click the header script to report an error
hideOnSubmit : true, // Hide submission
autoload : true ,//Auto loading
blockOpacity: 0.5,//Transparency setting
onToggleCol: false,//When converting between rows, the default implementation can be overridden in this method, which is basically useless
onChangeSort: false, // When changing the sorting, you can override the default implementation in this method and implement client-side sorting by yourself
onSuccess : false, // Execute after success
onSubmit : false
// Call custom Calculation function of
}, p);