日期:2014-05-16  浏览次数:20435 次

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

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