// re-render the specified interface elements $ .parser.parse ( ' #cc ' ); // re-adjust the size of the container $ ( " body " ) .layout ( " of a resize " ); // to EasyUI text box bound events 2 ways: $ ( ' #user_tel ' ) .textbox ({ Events: { keyUp: function () { // business logic execution $ ( ' #user_account ' ) .textbox ( ' the setValue ' , the this .Value); } } }); $ ( " #User_tel " ) .textbox ( ' TextBox ' ) .bind ( ' keyUp ' , function () { // business logic execution $ ( ' #user_account ' ) .textbox ( ' the setValue ' , the this .Value); }); // DataGrid clear the cache line selected loadFilter: function (data) { // $ (the this) .datagrid ( 'clearSelections'); // to avoid further control line is recorded after the selected reload the data, it will trigger the onUncheckAll events and event onUnselectAll $ .data ( the this , " the DataGrid ") .checkedRows = []; $ .data ( the this , " DataGrid " ) .selectedRows = []; } // DataGrid data source data is automatically achieved by the selected row // source code to find the following line: // var = CLS " = class \ "the DataGrid-row" + (_8e5% 2 && opts.striped "the DataGrid-alt-row":? "") + cs.c + "\" "; // replace the following lines // == ======================================== // by data.checked datagrid when loading data field in the row level selected by liujia Liu Jia 2019-08-14 // _8e7 properties of the object table, the selected row is inserted into the cache object IF (row. the checked && opts.idField! opts.idField = undefined &&!= "") { $.easyui.addArrayItem(_8e7.checkedRows, opts.idField, row); $.easyui.addArrayItem(_8e7.selectedRows, opts.idField, row); } var cls = "class=\"datagrid-row " + (row.checked ? "datagrid-row-checked datagrid-row-selected " : " ") +(_8e5%2&&opts.striped?"datagrid-row-alt ":" ")+cs.c+"\""; //==========================================