easyui dialog hide and show

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326261051&siteId=291194637