EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: misterbill on December 22, 2013, 04:13:41 AM



Title: search
Post by: misterbill on December 22, 2013, 04:13:41 AM
I am trying to add a search to the crud datagrid demo. I need to figure out how to pass the url for the server side search file. Up to now I can get either the search to work or the pagination to work, but not at the same time. I think I need a url local to the search function

thanks

bill


Title: Re: search
Post by: stworthy on December 22, 2013, 06:54:49 AM
Please refer to this tutorial http://www.jeasyui.com/tutorial/datagrid/datagrid24.php.


Title: Re: search
Post by: misterbill on December 22, 2013, 11:28:31 AM
Thanks for the reply
That is the one I'm using at the moment. I tried to amalgamate it with the crud demo. I want when I click on search for it to reference datagrid24_getdata.php and when I click the pagination buttons on the headers to go to datagrid8_getdata.php. Or do I combine the two php files and detect which button was pressed there.

I'm new to jquery so I may have things totally wrong.

Bill


Title: Re: search
Post by: misterbill on December 26, 2013, 12:37:00 AM
After lots of study I couldn't figure it out . I think jquery isn't so easy. I'll have to abandon it.

Thanks