Bug displaying if my columns contain html tag /Individual column filtering (using "select" elements)

Bug displaying if my columns contain html tag /Individual column filtering (using "select" elements)

FMHFMH Posts: 1Questions: 0Answers: 0
edited December 2011 in Bug reports
Hello,
thx for this product !
i found a displaying bug when my columns contain html tags :

example :
[code]
my column data
[/code]

to fix it just edit fnCreateSelect :
[code]
function fnCreateSelect( aData )
{
var r='', i, iLen=aData.length;
for ( i=0 ; i]+(>|$)/ig, "");

r += ''+str+'';
}
return r+'';
}
[/code]

Replies

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin
    Thanks for positing your code :-). Yup the example column filter code doesn't cope with HTML, or other "funky" inputs such as a date picker. Modifications to the code might well be needed (as you have found here) to cover specific cases :-).

    Allan
  • hiralhiral Posts: 9Questions: 0Answers: 0
    Thanks. I had a same problem which I was not able to do. Thanks a lot.
This discussion has been closed.