v8.4.* - alternative for 'on_page_view' event without pages

Permalink
I use a 'on_page_view' event with pages. If I want to do the same but without loading pages, i.e. showing data straight from the DB, I guess I can do that with routes and view rendering, In that case is there an event which would be similar to loading a page and triggering the 'on_page_view' when the data is viewed? Is a 'on_render_complete' the right thing here? Thank you.

linuxoid