Perhaps I’m missing something but does anyone know if a reliable hook for ‘after dataview refresh’? I mean the bulit-in screens and custom dashboards all do refresh in various ways. Usually via results from rest-erp or kinetic-rest or baq-options and sometimes via the mysterious .invalidated trick. There are often refresh-all and refresh-grid actions which you can hook but these are just for action menus as far as I can tell. Meaning grid filter apply executes the baq or bo but those actions don’t fire so they’re not reliable ‘after’ hooks.
Basically, I want my event to trigger anytime the dataview is refreshed no matter the refresh method. Seems dataview-updated or a grid-onFilter hooks are wanting. Am I missing it?
You CAN set up a DataTable > Column Changed event and see if that might work. You can tie it to a DataView… but then NOT specify a specific column. So, any change to any column would trigger your event. May be overkill depending on what you’re looking to do.
Thanks David. Doesn’t seem to fire, ever. What’s worse is grid apply filter seems to be doing some client-side filtering. Sometimes re-ExecuteBaq w where-list, sometimes not. Don’t recall seeing this before - wonder if something has changed w 2025.2(?) Don’t get me wrong client-side filtering is great but the dataview.data doesn’t change so even more reason we need more hooks. ![]()
Appears a server call is made when hasmorerows, else clientside filter applies. Which may be why column change doesn’t hook on apply filter in the latter case.
classic folks, can you reliably exec custom actions upon user apply adhoc filter in classic grids? Parity issue?
Classic grids were so much better. Yes classic customizations could do more with grids and the whole form than what we can do. Bold, size, etc text in Classic? Yes Kinetic? Nope
Thanks Randy. I wonder specifically about user adhoc filtering. When they do that in classic and say the grid control handles filtering without a server call,is an event hook available to act upon? I’m thinking for example if I want clientside event to refresh a summary of grid data as filtered.
There are (were) hooks for when an object looses focus or mouse in/out, etc. I never personally did anything exactly as you’re asking --as my customizations were fairly simple compared to what others here can cook up in Classic-- Infragistics framework was used so maybe some Google searches can help shed light in it for you.