Title: Search datagrid of remote data with Enter Key Post by: Alfred on April 04, 2018, 10:15:42 PM I used the following code to search datagrid. The search functionality works only when the user click the search button on the toolbar. it does not work with Enter Key. I want to use Enter key to submit the search term.
<style type="text/css"> .mystyle{ line-height:16px; width:120px; } </style> Code: <table id="itemdg" fit="true" url="data/get_data.php" style="padding:10px;" class="easyui-datagrid" pagination="true" toolbar="#toolbar" rownumbers="true" fitColumns="true"> Js Code: function itemSearch(){ Here is my attempt to use Enter Key Press: Code: $(function() { My attempt code does not work. There is no error in the console. Please help. Title: Re: Search datagrid of remote data with Enter Key Post by: battlezad on April 05, 2018, 01:39:17 AM Try using SearchBox?
Title: Re: Search datagrid of remote data with Enter Key Post by: Alfred on April 05, 2018, 02:51:53 AM Searchbox is limited to one input field.
|