I am trying to add on click event to a cell which contains ahref "#" and use onclick to redirect but i need value of cell in ID column. Can someone put me out of my misery as I do not get the event attached. This seems correct to me but I am a database dev.
instance.on('click', function(ev) { if (ev.columnName === 'detail') { const ID = getValue(ev.rowKey,'ID') ltgFormAction('library-list.html?action=tab&record='+ID); } });
I am trying to add on click event to a cell which contains ahref "#" and use onclick to redirect but i need value of cell in ID column. Can someone put me out of my misery as I do not get the event attached. This seems correct to me but I am a database dev.
instance.on('click', function(ev) { if (ev.columnName === 'detail') { const ID = getValue(ev.rowKey,'ID') ltgFormAction('library-list.html?action=tab&record='+ID); } });
Is there a community for help on this component ?
Latest Version Thanks