column.data().unique().sort().each is returning some duplicates

column.data().unique().sort().each is returning some duplicates

ckennedy1965ckennedy1965 Posts: 1Questions: 1Answers: 0

I am using the column searching function and it is returning a few multiples. Not everything is duplicating but there are some that duplicate. Does anyone have any ideas?

Answers

  • kthorngrenkthorngren Posts: 14,122Questions: 25Answers: 3,329

    The only way to find out is to debug the loop building the select list. Use the browser's debugger or console.log statements. Maybe there is white space characters causing what looks like duplicates.

    Kevin

  • allanallan Posts: 54,897Questions: 1Answers: 8,605 Site admin

    If you can give me a link to an example showing the issue, I can take a look. It isn't a problem I've come across before I'm afraid, so I'm not sure what would be causing it. Possibly strict typing?

    Allan

Sign In or Register to comment.