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
125
UltraGrid Deleting Row
posted

I have an unusual situation and am unsure how to debug it.  I am trying to delete a row from an UltraGrid.  I have several grids in my project and all but two will allow me to delete rows.  All grids use the exact same formatting routine.  The datasource for all grids are built at runtime.  the two that will not let me delete rows differ in that they contains many child bands.  

The odd thing is that when I call UltraGrid,Row,Delete(false), it returns true.  I get no error messages.  But checking the value of UltraGrid.IsDeleted on the very next line shows the row is still there.  Also, the row is still visible in the UltraGrid.  This is something specific to this program as when I tried to create a stripped down sample program to send, taking all code from the original project, I could not reproduce the issue.

I have allowdeletes turned on in both the Datasource and the Grids, like I said, these exact same initialization code is used for all grids, only 2 exhibit this issue.

Any suggestion of how to debug?