I want to put together a jsBin project to demonstrate a problem I'm having with the kendo grid on a panelBar, but the problem only manifests itself when the grid contains a large amount of data, i.e. a thousand rows or more. Is there a Northwind or other URL that returns a large dataset I can use?
Here's the scenario, in the meantime.
Top panel (active panel) contains a Google map.
Bottom panel (collapsed) contains kendo grid.
User clicks on the map, and the latitude/longitude is used to fetch data from our database via AJAX.
Kendo grid is populated with the data while the bottom panel is still collapsed.
User clicks on the bottom panel to expand it and see the query results.
This works perfectly -- but only on the first query.
When the user re-opens the top map panel to click on a different location, I destroy() the existing grid, reconfigure the grid, and repopulate the grid's dataSource with the new data from the second query. Although the dataSource data object contains the full dataset from the XHR, the grid renders only the first row, and the height of the grid is truncated from 600px to 100px.
Here's the scenario, in the meantime.
Top panel (active panel) contains a Google map.
Bottom panel (collapsed) contains kendo grid.
User clicks on the map, and the latitude/longitude is used to fetch data from our database via AJAX.
Kendo grid is populated with the data while the bottom panel is still collapsed.
User clicks on the bottom panel to expand it and see the query results.
This works perfectly -- but only on the first query.
When the user re-opens the top map panel to click on a different location, I destroy() the existing grid, reconfigure the grid, and repopulate the grid's dataSource with the new data from the second query. Although the dataSource data object contains the full dataset from the XHR, the grid renders only the first row, and the height of the grid is truncated from 600px to 100px.