Hello,
I have a datatable with few columns and last column calls a template function, which returns some HTML code with textboxes and buttons.
I need to add some events to these HTML controls, but I have no idea how.
I’ve tried “ready” event. for datatable, so i was able to bind events to my controls, unfortunately, when I refresh a row, binding is lost.
I’ve tried other events like AfterLoad or AfterRender, unfortunately AfterRender is called BEFORE HTML controls actually exists in DOM, so I can’t rebind.
I’ve tried click event., it’s working for buttons.
Is there any event, which is called after changes are DONE in HTML DOM so i can rebind events to my controls ?
Or is there any other way, how to place own control into datatable CELL ?
Thank you very much