Home >Backend Development >PHP Tutorial >php中使用easyui datagrid的有关问题

php中使用easyui datagrid的有关问题

WBOY
WBOYOriginal
2016-06-13 11:53:38697browse

php中使用easyui datagrid的问题

<table id="adg"  class="easyui-datagrid" style="width:410px;height:auto" <br />data-options="  url: 'daily_all_area.php',  singleSelect: true "<br /> > <br /><thead> <br /> <tr><br /><th field="area_no" width="100"  formatter="getArea"><strong>Region Name</strong></th> <br /><th field="daily_quantity_area" width="80" align='right'><strong>Quantity</strong></th> <br /></tr> <br /></thead> <br /></table>

一般在使用datagrid时url填写的是个生成json的php文件。这个url如果想换成个生成json的方法该怎么写?
------解决方案--------------------
解决啦?
潜水那么久

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn