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
1803
best events to validate a grid
posted

Hi all,

 i have the grid binded to different datasource..meaning to have different columns generated dynamically ...i want  to validate the text in the grid before he moves onto the next cell (ie loses focus)..and if it doesnt match i want ot use the entereditmode and keep the text highlighted

currently i am using the beforedeactivatecell method and  call performaction - entereditmode ......

 is there any event which triggers before dataerror ..or something to override the dataerror and get the focus to the cell

 

Parents
No Data
Reply
  • 12480
    Offline posted

    Hello Arun,

    You can use the CellDataError event for this purpose. You can set e.RaiseErrorEvent to false in order to supppress the error dialog. In the case of a data error, focus will remain on the cell even if the error meessage is suppresed.

    Please let me know if you have any further questions for me.

Children