Posted 15 March 2021, 1:16 pm EST
I posted something on this before and thought I had sorted it out but that is not the case. Unfortunately, the example given was in c# which I am not familiar with so it was not particularly helpful.
I have a Flexgrid on a form bound to a datatable. I am using the AfterEdit even to update the underlying database when the user inserts a row. The first row insert works fine. Any subsequent rows are not added to the database unless I reload the datatable and re-populate the flex grid. After the first row is inserted, the new row appears in the grid. When you type in values and finish editing, the new row simply vanishes.
Again, it is VB not C# and I am using the AfterEdit event to update existing rows/insert new rows. I was able to determine that the AfterEdit event does not even fire when adding the second row. I tried using the flexgrid.finishEditing method which did not have any effect.
What am I missing here?