I have a dropdown that controls the "filter" on a datagrid. The value of the select object is passed into the URL, and then the datagrid is reloaded with the new parameter:
parameters = {
country: activecountry["Name"]
};
var url = repository + "?type=repository&action=AMT.GetAllocationSummary¶meters=" + $.toJSON(parameters);
// call init function on datagrid
$("#" + datagrid).datagrid({
"url": url
});
Is there a simpler way to operate on the grid with a new URL and the load method instead of completely recreating it?