| Method name and syntax |
Method description |
| String Getrowkey (Visibleindex:int) |
Get row Primary key value |
| Aspxclientgridviewcolumn _getcolumn (Index:int) |
The Column object is taken according to the field ordinal. Same as the GetColumn method function. |
| Aspxclientgridviewcolumn? _getcolumnbyfield (fieldname:string) |
The Field object is taken according to the field name. Same as the Getcolumnbyfield method function. |
| Aspxclientgridviewcolumn? _getcolumnbyid (id:string) |
The Field object is taken according to the field ID. Same as the Getcolumnbyid method function. |
1.Int _getcolumnindexbycolumnargs (column:string) 2.int _getcolumnindexbycolumnargs (Column:aspxclientgridviewcolumn) |
The column ordinal is taken according to the field name or Field object. |
1.ASPxClientGridViewColumn? _getcolumnobjectbyarg (Arg:int) 2.ASPxClientGridViewColumn? _getcolumnobjectbyarg (Arg:aspxclientgridviewcolumn) 3.ASPxClientGridViewColumn? _getcolumnobjectbyarg (arg:string) |
Takes a Field object. The parameters can be: 1. field ordinal; 2. Field object; 3. field name; 4. Field ID |
| Int _getcolumnscount () |
Number of columns to take |
| List<object> _geteditors () |
List of all column editors. The returned object is an array of objects. You can get to the editor only if Aspxgridview is in edit state. This is usually the text, checkbox, and button type of the HTML element. |
| Int _getfocusedrowindex () |
Takes the focus line number. Only set allowfocusedrow= "true" to fetch the focus line number. Same as the Getfocusedrowindex function. |
| Int _getnumberfromendofstring (st:string) |
Take the string corresponding to the number from the back forward. Returns only integers, not numeric characters before the decimal point. The function has a bug that will cause a dead loop and not be called. |
| Int _getrowindexonpage (Visibleindex:int) |
Takes the specified line on the page in the first line. The default equals the line number. (counting starting from 0) |
| Int _getselectedrowcount () |
The number of rows selected. Same as the Getselectedrowcount function. |
| Bool _isgrouprow (Row:int) |
Determines whether rows are grouped by the specified row. Same as the Isgrouprow method function. |
| Bool _isrowselected (Visibleindex:int) |
Determines whether the specified row is selected. |
| Void _selectallrowsonpage (Checked:bool) |
Select or deselect all rows in the current page. is equivalent to the Selectallrowsonpage method. |
| Void _selectallselbtn (Checked:bool) |
The selection column in all rows is selected or deselected. Does not affect the selected state of the row and is discarded when the page is turned. Select columns can be defined in the following ways: <dxwgv:gridviewcommandcolumn caption= "Select" Name= "Isselect" buttontype= "button" showselectcheckbox= "true" >??????????? ???? </dxwgv:GridViewCommandColumn> |
| Void _setfocusedrowindex (Visibleindex:int) |
Sets the specified behavior focus row. Same as the Setfocusedrowindex method function. |
| Void _updateedit () |
Update the data. Same as the Updateedit method function. |
| void Addnewrow () |
New row |
| Void ApplyFilter (filterexpression:string) |
Apply the filter expression. is equivalent to the FilterExpression setting Aspxgridview. |
1:void Autofilterbycolumn (Column:aspxclientgridviewcolumn, val:string); 2:void Autofilterbycolumn (Columnindex:int, var:string); 3:void Autofilterbycolumn (columnfieldnameorid:string, val:string); |
Filter by specified field value |
Void CancelEdit () |
Cancel Edit |
Void Clearfilter () |
Clear Filter Expression |
Void CollapseAll () |
Shrink all grouped data rows |
Void Collapsealldetailrows () |
Shrink All detail rows |
Void Collapsedetailrow (Visibleindex:int) |
Receipts Specify detail rows |
1.void collapserow (int visibleindex) 2.void collapserow (int visibleindex, bool recursive); |
Shrinks the specified grouping data row. (Recursive allowed) |
| Void DeleteRow (Visibleindex:int) |
Deletes the specified line. |
| Void ExpandAll () |
Expands all grouped data rows. |
| Void Expandalldetailrows () |
Expands all detail rows. |
Void Expanddetailrow ( Visibleindex:int) |
Expands the specified detail row. |
1.void expandrow (int visibleindex) 2.void expandrow (int visibleindex, bool recursive); |
Expands the specified grouping data row. can be recursive. |
1.void Focuseditor (aspxclientgridviewcolumn Column 2. void Focuseditor (int columnindex) 3. void Focuseditor (String columnfieldnameorid) |
Moves the cursor to the specified field editor. 3 parameters can be passed. |
| Bool getcientvisible () |
Determines whether the Aspxgridview control is visible. |
| Aspxclientgridviewcolumn GetColumn (Index:int) |
The Column object is taken according to the field ordinal. |
| Aspxclientgridviewcolumn Getcolumnbyfield (FieldName) |
The Field object is taken according to the field name. |
| Aspxclientgridviewcolumn Getcolumnbyid (ID) |
The Field object is taken according to the field ID. |
| Int Getcolumnindex (colid:string) |
The column ordinal is taken according to the field ID. |
| Aspxclientgridviewcolumn Getcolumnobject (colid:string) |
The Field object is taken according to the field ID. |
| Int Getcolumnscount () |
The number of columns to be taken. |
1.void geteditor (string columnfieldnameorid); 2.void geteditor (aspxclientgridviewcolumn column); 3.void geteditor (int columnindex); |
Take the column editor. Parameters can be field names, Field objects, column ordinals. |
1.string geteditvalue (int columnindex); 2.string geteditvalue (aspxclientgridviewcolumn column); 3.string geteditvalue (string columnfieldnameorid); |
The column editor value is taken. Parameters can be field names, Field objects, column ordinals. |
| Object Getdatarow (Visibleindex:index) |
Fetch data rows. Returns a <tr> element. HTML element ID naming rules for each row of data: id= "Aspxgridviewid" _dxdatarow[rowindex] can access the column data as follows: Var DataRow = grid. Getdatarow (0); Var colValue1 = datarow.all[0].innerhtml |
| Int Getfocusedrowindex () |
Takes the focus line number. |
Void Getpagerowvalues (fieldnames:string, Oncallback:aspxclientgridviewvaluescallback) |
Takes all rows of the current page to specify a field value. The result is an object array that handles the return result in the callback function. |
Getselectedfieldvalues (Fieldnames:string, Oncallback:aspxclientgridviewvaluescallback) |
Select the row field value. Returns an array of objects. The return result is processed in the callback function. |
| Int Getselectedrowcount () |
The number of rows selected. |
| Int Gettopvisibleindex () |
The row number of the top row of the current page. |
Void Getvaluesoncustomcallback (args:string, Oncallback:aspxclientgridviewvaluescallback) |
The callback function is taken from the definition directly. The results are returned in the server-side Customdatacallback event. The return result is processed in the callback function. |
| Void Getvisiblerowsonpage () |
The row number of the top row of the current page. |
| Void GotoPage (Pageindex:int) |
Jumps to the specified page. |
1:void GroupBy (int columnindex); 2:void GroupBy (aspxclientgridviewcolumn column); 3:void GroupBy (string columnfieldnameorid); 4:void GroupBy (string columnfieldnameorid, int groupindex); 5:void GroupBy (int columnindex, int groupindex); 6:void GroupBy (aspxclientgridviewcolumn column, int groupindex); 7:void GroupBy (int columnindex, int groupindex,string sortOrder); 8:void GroupBy (aspxclientgridviewcolumn column, int groupindex, string sortOrder); 9:void GroupBy (string columnfieldnameorid, int groupindex, string sortOrder); |
Group by the specified fields. |
| Void Hidecustomizationwindow () |
Close the custom form. |
| Bool Incallback () |
Determines whether the Aspxgridview is in the server callback process. |
| Bool iscustomizationwindowvisible () |
Determines whether the custom form is visible. |
| Bool Isdatarow (Visibleindex:int) |
Determines whether the specified row is a data row. |
| Bool Isgrouprow (Visibleindex:int) |
Determines whether rows are grouped by the specified row. |
| Bool isgrouprowexpanded (Visibleindex:int) |
Determines whether the specified grouping row is expanded. |
| Void movecolumn (column, Columnmoveto, MoveBefore, Movetogroup, Movefromgroup) |
Hides or moves the field. There are 15 kinds of grammars. |
| Void NextPage () |
Jumps to the next page. |
| Void Performcallback (args:string) |
Triggers the Aspxgridview server-side Customcallback event. Commonly used to convert client methods to server methods. |
| Preparecallbackargs (Serializedargs, ROOTTD) |
|
| Void PrevPage () |
Jumps to the previous page. |
| Void Selectallrowsonpage (Selected:bool) |
Select or deselect all rows in the current page. |
1.void selectrowonpage (int visibleindex); 2.void selectrowonpage (int visibleindex, BOOL selected); |
Select or deselect the specified line on the current page. |
1:void Selectrows () 2:void selectrows (int visibleindex) 3:void selectrows (int32[] visibleindces) 4:void selectrows (int visibleindex,bool selected) 5:void selectrows (int32[] Visibleindces,bool selected) |
Select or deselect the specified line. Can not be on the current page. If the parameter contains a line number (Visibleindex), you must specify Keyfieldname. |
1.void Selectrowsbykey (object key); 2.void Selectrowsbykey (object[] keys); 3.void Selectrowsbykey (object key, BOOL selected); 4.void Selectrowsbykey (object[] keys, BOOL selected); |
Select or deselect rows based on primary key values. Multiple primary key values can be supplied to select or deselect multiple rows. |