Sometimes it is necessary to filter the results of the query. Of course, if it is front-end filtering, do not issue the back-end query request again. easyui makes this easy.
Code like:
<div class="easyui-panel" id="columnSearchResultDIV">
<table id="columnSearchResult"></table>
</div>
The id of the table is initialized by the datagrid method. To hide, just:
$("#columnSearchResultDIV").panel("close");
Of course, generally we will use the form of event triggering, such as checkbox, then the code is generally as follows:
var flag = $(thisObj).is(":checked");//Determine the selected state of the current checkbox