Reputation: 1817
Slickgrid's column formatters return html to the grid object, so basically there's no way to attach events on elements created within the formatters. One has to use $.live() to capture those elements, why does Slickgrid formatter use HTML and not DOM objects?
Upvotes: 2
Views: 777
Reputation: 9082
1) Because it's faster to render it this way. 2) To discourage developers from doing what you are trying to do :) This approach is not scalable. Using event delegation is the way to go here.
Upvotes: 2