Hi,
In my igGrid ,The data in one of the columns have multiple spaces between characters such as "aa bb", but when it is bounded,the extra spaces are removed and shown as "aa bb". I wanted to bind my data as is however it is there in the db. Can some one help me in fixing this issue.
Thanks & Regards
Nagaraju P
I also think you should use html reserved entity character for non-breaking space...
I don't think that auto-sizing has something in common with column formatting. The last operates on the datasource.
Thanks for your replay,
Is there any better solution ? because I need to implement across all my Grids and i am also not sure ,how it’s going to work across all the browsers and devices. Also can you please let me know if auto Sizing the column is turned on ,implementing the above solution is going to create any impact? if not I am ok with this solution.
Nagaraju
Instead you may use column formatter function: https://www.igniteui.com/help/api/2017.1/ui.iggrid#options:columns.formatter and get the respective value that contains spaces and replace them. Here is an example how to replace white-space: https://stackoverflow.com/questions/1731190/check-if-a-string-has-white-space
Tsanna the users are entering the extra spaces so using the   is not a solution. We need another way to support this. Do you have any suggestions as it's causing issues for our clients.