or
function regroup() { if ($("#sel").data("kendoMobileButtonGroup").current().index()==1) { sttDataSource.filter( { field: "id_wt1", operator: "startswith", value: "1" }); sttDataSource.sort( { field: "dtime", dir: "asc" }); } else if ($("#sel").data("kendoMobileButtonGroup").current().index()==0) { sttDataSource.filter( { field: "wdname", operator: "startswith", value: "" }); sttDataSource.sort( {field: "dtime", dir: "asc" }); } else if ($("#sel").data("kendoMobileButtonGroup").current().index()==2) { sttDataSource.filter( { field: "id_wt2", operator: "startswith", value: "2" }); sttDataSource.sort( { field: "dtime", dir: "asc" }); } sttDataSource.group("id_wd"); $("#listv").kendoMobileListView({ dataSource: sttDataSource, template: $("#sttTemplate").html() }); }Array( [callback] => jQuery110007109804890166557_1369760652926 [take] => 5 [skip] => 0 [page] => 1 [pageSize] => 5 [filter] => Array ( [filters] => Array ( [0] => Array ( [field] => cID [operator] => eq [value] => 1000 ) ) [logic] => and ) [_] => 1369760652934)jQuery110007109804890166557_1369760652926({"total":0,"data":[]})Select cID from ticketing_index WHERE cID = '1000'