How to prevent sorting on certain html elements inside the header cells?

How to prevent sorting on certain html elements inside the header cells?

Marko76Marko76 Posts: 16Questions: 0Answers: 0
edited January 2014 in General
I have a table which has buttons/links inside each header table cell to performs certain operations on the records which column represents. I also have sorting enabled on each column. What I want to prevent is sorting execution when one of the links is clicked. So basically when the column header text is clicked it is OK to sort when column header links are clicked there should be no sorting. Is there a way to accomplish this?

Here is the video of what I don't want happening:
http://screencast.com/t/9sFWpMYmg

Replies

  • Marko76Marko76 Posts: 16Questions: 0Answers: 0
    In the mean time I have figured out I can resolve this by using:

    [code]e.stopPropagation();[/code]

    on each element that I don't want to execute sorting...
This discussion has been closed.