取得datagrid查詢字串,可寫在onbeforeload

 var datagrid = $('#dataGridView').find('.info-datagrid');



 var where = datagrid.datagrid('getWhere');