or
How to refresh a grid with parameters, I write that, but it's not work,pls help me ,thanks.
the code
var grid_=$("#grid_right").kendoGrid({the code :
grid_ .dataSource.read({
url: "charge-property/resources/unit_list_data.jsp",
dataType: "json",
data: {
q: "test"
}
});
grid_.refresh();
pls help me ,thanks.
dsEventsList = new kendo.data.DataSource({ data: JSON.parse(localStorage.getItem("EventsJson")), filter: { field: "Events_ID", operator: "eq", value: g_Events_ID } }); //Total Record --> 23
alert(dsEventsList.options.data.length);