onSQLSelectQuery Event
/pages/Guides/Mobile and Web Components/Grid/Code/Server-side Events/onSQLSelectQuery.xml

Fires when the Grid needs select records to display in the Grid. If you want to base the Grid on a stored procedure you can use this event to return a resultset to the Grid.

Web Grids based on Stored Procedures
/pages/Server/Guide/Design/View/Grid/Web Grid/Web Grids based on Stored Procedures.xml
A guide to creating updateable Grids that are based on stored procedures.