Problem when link in cell

Problem when link in cell

stebarstebar Posts: 11Questions: 3Answers: 0
edited April 2017 in Free community support

Hello,
When i create a link inside cell, search doesn't work as expected. You can see the problem here by clicking on "select" field under "Position" title. How can i fix this, maybe changing the regular expression?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,260Questions: 26Answers: 4,934
    Answer ✓

    I think all you need to do is change this:

                    column.data().unique().sort().each( function ( d, j ) {
                        select.append( '<option value="'+d+'">'+d+'</option>' )
    

    Modify d by removing all but the text portion of your link.

    Kevin

  • stebarstebar Posts: 11Questions: 3Answers: 0
    edited April 2017

    Yes, problem was with "d" var, so i modified it in case it includes <a>.
    Thank you for your reply!

This discussion has been closed.