Hello,
I have hooked the rendering event to the Ignite Grid as following:
$('#myGrid').igGrid({ rendering: function (evt, ui) { //my logic goes here... } });
But, this event is never fired. What could be wrong?
Regards,
Arfan Baig
Martin,
I think you misunderstood. What I said was that the "Rendering" event DID NOT fire, but "Rendered" DID fire. Which to me doesn't make sense.
Hello Arfan,
I could not reproduce this issue in the 12.2 releases (both volume and SRs). Which version and build of Ignite UI product are you using?
@Pete: Pete, it is normal that the event doesn't fire in your case, because you bind to it after the grid is created and this event fires only once while the grid is initialized.
Here is the description of the event from the documentation:
rendered
Event fired after the whole grid widget has been rendered (including headers, footers, etc.).
This event is fired only when the grid is being initialized.
It will not be fired if the grid is rebound to its data
(for example, when calling the dataBind() API method
or when changing the page size (when paging is enabled)).
Hope this helps,
Martin Pavlov
Infragistics, Inc.
Hello Pete,
Thanks for putting effort to reproduce the issue. Is there a fix planned for this bug?
My guess is this is a bug. I'm able to reproduce it with this method as well:
myGrid.bind('iggridrendering', function(e1, ui1) { alert("test"); return true; });
Rendered, on the other hand, appears to work fine...