Sorry if this question formats oddly. I'm using Firefox at the moment and wordwrap isn't working correctly here on the forum with FF v22.0.
My application has to do multiple searches against a large database, one search after the other, every few minutes, all day long.
Users click a map, the app gets the latitude and longitude of the location, and then queries the database for entities within a given radius.
The entities are displayed in the grid. Lather. Rinse. Repeat.
I destroy the grid before each search and delay the search for a fraction of a second (I've tried as long as 1.5 seconds) to give the "destruction" time in which to complete.
On the second and subsequent searches, the grid loses its groupable feature. The grouping-is-not-allowed icon when the user tries to drag the column-header to the group-panel.
It may be relevant that the grid is on a panelBar.
function doSearch() {
var existingGrid = $('#grid').data('kendoGrid');
if (existingGrid) {
existingGrid.destroy();
existingGrid.wrapper.html("");
}
setTimeout(function () {
FetchData(); // the success handler for this AJAX call instantiates and configures the grid
}, 222);
}
My application has to do multiple searches against a large database, one search after the other, every few minutes, all day long.
Users click a map, the app gets the latitude and longitude of the location, and then queries the database for entities within a given radius.
The entities are displayed in the grid. Lather. Rinse. Repeat.
I destroy the grid before each search and delay the search for a fraction of a second (I've tried as long as 1.5 seconds) to give the "destruction" time in which to complete.
On the second and subsequent searches, the grid loses its groupable feature. The grouping-is-not-allowed icon when the user tries to drag the column-header to the group-panel.
It may be relevant that the grid is on a panelBar.
function doSearch() {
var existingGrid = $('#grid').data('kendoGrid');
if (existingGrid) {
existingGrid.destroy();
existingGrid.wrapper.html("");
}
setTimeout(function () {
FetchData(); // the success handler for this AJAX call instantiates and configures the grid
}, 222);
}