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
555
Compare column values in UltraGrid
posted

I got a UltraGrid control,  i want to compare two values in the same column and if i find two values in the same column equal, i would like to extract that row by getting the row id. How can i do that.

Parents
No Data
Reply
  • 469350
    Offline posted

    You would have to loop through every row and examine the value of the cell in that column and trap for duplicates yourself. There's nothing built-in to the grid that could perform this kind of operation for you.

    Another option would be to search through the data source rows, rather than the grid, but it's essentially the same thing. The DataSource might be a bit more efficient, though.

Children