Searchbuilder adds spaces to column data
Searchbuilder adds spaces to column data
I'm using searchbuilder on a table and it seems to do something strange with** column A**
I am not able to change how column A is formatted unfortunately. That would be the easy solution.
It adds a bunch of spaces to the data, because of this i cannot use it in predefined.
You may find a test case here http://live.datatables.net/tiyomeda/1/edit
To replicate the behaviour you may do a search for "Column A equals abc "
then call getDetails() on the table. You will notice a lot of spaces get added to the value
Answers
It is because of the whitespace in your HTML:
If you change it to be:
Then it will operate as you are looking for: http://live.datatables.net/tiyomeda/2/edit .
Allan