Grid Functionality / Conditional Hierarchy



This example demonstrates how you can create conditional hierarchical grids. Standard hierarchies have a sublevel, or hierarchy for each inner level. It may be the case, that you do not want to have a detail hierarchy or level on certain condition. This example does exactly this. In order to achive that you need to handle the 'detailCreated' event and to instantiate a new grid into the detail cell. You can find the gridData.js file content here: gridData.js

Was this example useful?