Name |
Type |
Describe |
Default value |
Can be modified |
Url |
String |
Get the address of the data |
|
|
DataType |
String |
The data type returned from the server side, the default XML. Optional type: xml,local,json,jsonnp,script,xmlstring,jsonstring,clientside |
|
|
Mtype |
String |
Ajax submission method. Post or get, default get |
|
|
Colnames |
Array |
Column Display name, is an array object |
|
|
Colmodel |
Array |
Commonly used properties: Name column displays names,index to server-side used to sort the column names, width column widths;align alignment;sortable Whether you can sort |
|
|
Pager |
String |
Defines the navigation bar for page flipping, which must be a valid HTML element. The page flipping toolbar can be placed anywhere on the HTML page |
|
|
RowNum |
Int |
Displays the number of record bars on the grid, which is to be passed to the background |
|
|
Rowlist |
Array |
A drop-down selection box to change the number of display records, when selected, overrides the RowNum parameter passed to the background |
|
|
Sortname |
String |
The default sort column. Can be a column name or a number, this parameter will be submitted to the background |
|
|
Viewrecords |
Boolean |
Define whether you want to display the total number of records |
|
|
Caption |
String |
Table name |
|
|
AJAXGRIDOPTIONS[A1] |
Object |
Global settings for Ajax parameters that can overwrite Ajax events |
Null |
Is |
AJAXSELECTOPTIONS[A2] |
Object |
Global settings for the Select parameter of Ajax |
Null |
Is |
Altclass |
String |
The CSS used to specify the line display can edit its own CSS file, only if Altrows is set to Ture |
Ui-priority-secondary |
|
Altrows |
Boolean |
Set Table zebra-striped values |
|
|
Autoencode |
Boolean |
Encode a URL |
False |
Is |
Autowidth |
Boolean |
If ture, the table width is resized based on the parent element proportions when the table is first created. If the width of the parent element changes, the function needs to be implemented in order for the table width to be automatically adjusted: Setgridwidth |
False |
Whether |
Celllayout |
Integer |
Defines the cell padding + border width. You typically do not have to modify this value. The initial value is |
5 |
Is |
Celledit |
Boolean |
Enable or disable the cell editing feature |
False |
Is |
Cellsubmit |
String |
Defines where the cell contents are saved |
' Remote ' |
Is |
Cellurl |
String |
URL of the cell submission |
Null value |
Is |
Datastr |
String |
XMLString or jsonstring |
Null value |
Is |
Deselectaftersort |
Boolean |
Works only when datatype is local. When sorting is not selected as the forward |
True |
Is |
Direction |
String |
Direction of display of text in a table, left-to-right (LTR) or right-to-left (RTR) |
Ltr |
Whether |
Editurl |
String |
Defines the URL to a form when it is edited |
Null value |
Is |
Emptyrecords |
String |
The information that is displayed when the number of data rows returned is 0 o'clock. Only works when property viewrecords is set to Ture |
|
Is |
Expandcolclick |
Boolean |
When True, when you click to expand the line's text, Treegrid can expand or contract, not just click on the image |
True |
Whether |
Expandcolumn |
String |
Specify the column to expand the tree grid, which defaults to the first column and only works when Treegrid is True |
Null value |
Whether |
FOOTERROW[A3] |
Boolean |
When True, adds a row above the page bar |
False |
Whether |
Forcefit |
Boolean |
When ture, adjusting the column width does not change the width of the table. When ShrinkToFit is false, this property is ignored |
False |
Whether |
Gridstate |
String |
Define the status of the current table: ' Visible ' or ' hidden ' |
Visible |
Whether |
Gridview |
Boolean |
Constructs a row of data to add to the grid, and if set to true, the entire table's data is constructed and then added to the grid, but Treegrid, Subgrid, or Afterinsertrow are not available |
False |
Is |
Height |
Mixed |
Table height, which can be a number, a pixel value, or a percentage |
150 |
Whether |
Hiddengrid |
Boolean |
When ture, the table is not displayed, only the title of the table is displayed. The table data is initialized only when you click the button that displays the table. |
False |
Whether |
Hidegrid |
Boolean |
Enable or disable control of table display, hidden buttons, only if the Caption property is not empty |
True |
Whether |
Hoverrows |
Boolean |
Mouse hovering is disabled when false |
False |
Is |
Jsonreader |
Array |
An array that describes the format of the JSON data |
|
Whether |
LastPage |
Integer |
Read-only attribute, which defines the total number of pages |
0 |
Whether |
Lastsort |
Integer |
Read-only property that defines the index of the last row sequence, starting with 0 |
0 |
Whether |
Loadonce |
Boolean |
If ture, the data is fetched only once from the server, after which all operations are performed on the client, and the paging feature is disabled |
False |
Whether |
LoadText |
String |
The text that is displayed when requested or sorted |
Loading .... |
Whether |
Loadui |
String |
What to do when an AJAX request is executed. Disable disables Ajax execution hints; enable default, prompt when executing AJAX requests, block enables loading hints, but blocks other actions |
Enable |
Is |
Multikey |
String |
Only when MultiSelect is set to ture, the definition uses that key to do a long selection. shiftkey,altkey,ctrlkey |
Null value |
Is |
Multiboxonly |
Boolean |
only if MultiSelect = true. function, when multiboxonly is ture only select checkbox will work |
False |
Is |
MultiSelect |
Boolean |
Define whether you can select multiple |
False |
Whether |
Multiselectwidth |
Integer |
Set multiselect column width when MultiSelect is true |
20 |
Whether |
Page |
Integer |
Set the initial page number |
1 |
Is |
Pagerpos |
String |
Specify the location of the page bar |
Center |
Whether |
Pgbuttons |
Boolean |
Whether to show page flipping buttons |
True |
Whether |
Pginput |
Boolean |
Whether to show the input box of the jump page |
True |
Whether |
Pgtext |
String |
Current page Information |
|
Is |
Prmnames |
Array |
Default valuesprmnames: {page: "page", Rows: "Rows", Sort: "Sidx", Order: "Sord", Search: "_search", Nd: "nd", npage:null} is not sent to the server side when the argument is null |
None |
Is |
PostData |
Array |
The contents of this array are directly assigned to the URL, parameter type: {name1:value1 ...} |
Empty array |
Is |
RecCount |
Integer |
A read-only property that defines the exact number of rows in the grid. Typically the same as the records property, but with one exception, if rownum=15, but the number of records returned from the server is 20, then the records value is 20, but the RecCount value is still 15, and the table shows only 15 |