How to prevent Kendo Grid click propagation -


i need add image 1 specific column, have that, good, see image, added alert see how working. problem after showing alert, executing sorting. there way avoid sorting when click on image?

{     field: "shipname", headertemplate: "<a class='k-link pull-left' href='#'>charge</a><img onclick='alert(1)' src='http://localhost/myapp/images/reports/filterapplied.png' title='this filter'/>",     title: "ship name" } 

if not want particular column sort, disable in grid's configuration. api reference.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -