column.data().unique().sort().each is returning some duplicates
column.data().unique().sort().each is returning some duplicates
ckennedy1965
Posts: 1Questions: 1Answers: 0
in General
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
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
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