RowLeave and Static CellType

I have a GDBG that contains two columns with the StyleInfo.CellType set to Static, and ReadOnly set to true. In addition, the GDBG.EnableEdit is set to false. I want to perform some validation on another datasource prior to allowing the user to select a different row. So, I hooked the RowLeave event on my grid and if the validation fails, I set e.Cancel to true. The problem is that when I set e.Cancel to true the contents of the active cell are cleared and the grid shows that the row is being edited. How can I prevent this?

1 Reply

AD Administrator Syncfusion Team February 15, 2003 10:28 AM UTC

Hi Sean, this should be fixed with our latest patch (1.5.1.6). If you have the full product you can download it now. If you have the eval, wait a couple of days. We will also update the eval next week. Stefan

Loader.
Up arrow icon