I create a custom link in ExtJS Grid through my own renderrer:
function renderLink( val ) { return '<a href="javascript:void(0);">' + val + '</a>'; }
What is the easiest way to connect a click event listener to it?
Of course, after displaying all the rows in the grid, I could iterate over each record from the grid storage and over each of them:
Ext.get('....').on('click', ....);
But for me this sounds more like a workaround than a real solution ... Is there a better way?
source share