How to prevent entering duplicate

Hi All, I have a grid and it that grid edit functionality is provided. I need to make sure that when user click on edit, the duplicate values should not be entered. Can anyone please help me out.

  Discussion posts and replies are publicly visible

Parents Reply Children