Selection Change Handlers

Selection Change Handlers

SaveToDB products allow executing handlers on selection change events.

You can use such handlers, for example, to show related details or images.

To add a handler, use the SelectionChange event type in the xls.handlers table.

For example:

IDTABLE_SCHEMATABLE_NAMECOLUMN_NAMEEVENT_NAMEHANDLER_SCHEMAHANDLER_NAMEHANDLER_TYPEHANDLER_CODETARGET_WORKSHEETMENU_ORDEREDIT_PARAMETERS
 s05view_ordersSelectionChanges05xl_select_order_detailsPROCEDURE_taskpane
 s08EmployeesSelectionChanges08EmployeePhotoInWindowCODE<SQL code>

where the SQL code is

SELECT Photo FROM s08.Employees WHERE EmployeeID = @EmployeeID

See details about the output targets in the xls.handlers topic.