You can define an event that takes its input value from any cell in the grid, not just from the cell in which the event is defined. The source cell can even be in a hidden column.
To display information from an underlying data store, and build a drill-down application that enables users to select a particular item for more information, the item’s key can be a generated identifier used to look up the details. However, you may want to display a more meaningful description of the grid item. To support this, build a grid containing the generated identifier in one column, and the description in another column. By hiding the first column, and building an event on the second column, you can create a compact application that enables you to easily drill down to the details section.
See “Grid rules” for more details on hiding grid data.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |