hi all:
dataSource: {
type: "json",
transport: {
read:{
url: "charge-property/resources/unit_list_data.jsp",
dataType:"json",
data: {
q: "1231453456456"
}
}
..........................................
..........................................
}).data("kendoGrid");
I want to in a button in the event,The parameter q modify the into "test"(old q: "1231453456456" )
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({dataSource: {
type: "json",
transport: {
read:{
url: "charge-property/resources/unit_list_data.jsp",
dataType:"json",
data: {
q: "1231453456456"
}
}
..........................................
..........................................
}).data("kendoGrid");
I want to in a button in the event,The parameter q modify the into "test"(old q: "1231453456456" )
the code :
grid_ .dataSource.read({
url: "charge-property/resources/unit_list_data.jsp",
dataType: "json",
data: {
q: "test"
}
});
grid_.refresh();
pls help me ,thanks.