私はJQGridを使用しRESTFul web services
て、サーバー上で作成した日付を取得しています
URLにアクセスしようとするとhttp://www.example.com/event/getAllInfo
、デフォルトでjqGrid_search=false&nd=1332922405416&rows=20&page=1&sidx=&sord=asc
が残りのURLに追加されます。そのため、サーバーはデータを取得しません。
1) どうすれば削除できますか2) http://www.example.com/event/getAllInfo/false/1332922405416/20/1/0/asc
のように URL に戻し ます
上記のようにサーバーでURLを作成できますが、クエリ文字列ではなくRESTfulから使用するようにjQGridを作成するにはどうすればよいですか
ここに私のコードがあります
jQuery("#list4").jqGrid({
url:"http://www.example.com/event/getAllInfo",
datatype: "json",
restful: true,
mtype: 'GET',
height: 250,
colNames:['id','title', 'description', 'create date','json','img','video'],
colModel:[
{name:'id',index:'e_info_id', width:60, sorttype:"int"},
{name:'title',index:'e_meta_title', width:90, sorttype:"date"},
{name:'name',index:'e_meta_description', width:100},
{name:'amount',index:'e_info_create_date', width:80, },
{name:'tax',index:'e_meta_JSON', width:80},
{name:'total',index:'e_meta_img', width:80},
{name:'note',index:'e_meta_video', width:150}
],
multiselect: true,
caption: "Manipulating Array Data"
});