:: DHX Grid :: Calling onFilterEnd after using filterBy API.

Hi there,



I am using filterBy API to filter the content shown in the grid on click of some button and I have written some code in onFilterEnd event.

I want that the code written in onFilterEnd should be called after using filterBy API. How to do that ?

You can fire event manually as

grid.fitlerBy(…);
grid.callEvent(“onFilterEnd”,[]);