Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Removing special characters while data binding
posted

Hi All, I am using UltrWinGrid and i am binding it to a datasource. Now some of the values in the datasource has a special character "^". I don't want to show that special character. I can loop through each row in the data grid and remove that special character. But it could be a overload as the number of rows are more. So i  am just wondering if there is some other way of doing it through some function/properties in the win grid whild binding the data itself.

 Thanks in Advance,

Manikandan

Parents
  • 469350
    Offline posted

    Hi Manikandan, 

        If you actually want to strip these character out of the data, then I would recommend using the InitializeRow event of the grid, rather than looping through the rows. It will be more efficient.

        If you don't want to alter the data, but you just want to update the grid display, then you could do this with a DrawFilter.

Reply Children