I need to do some action when the render() method has completed its work and added all the HTML elements to the DOM. How to subscribe to the onRenderEnds event (no such event)? Can I write my own event outside the slickgrid code and attach it to the render() method?
There are several events "onScroll", "onViewportChanged" , but they occurred before the completion of render() (in some cases).
Update: I am writing a formatter for a column:
formatter: function(row, cell, value, columnDef, dataContext){ return "<div class='operationList' data-my='" + myData + "'></div>"; }
When the grid is displayed (using my formatter), I need to go through all the ".operationList" divs and convert them to other constructs (based on the data-my attribute). I need to replace the ".operationList" divs with a complex structure with event handlers.
Kalinin
source share