UltraGrid and ProDataSet Question

Posted by Admin on 07-May-2010 04:05

I have a screen with an UltraGrid using a ProDataSet. I have enabled Batching and I add addional data to the ProDataSet when the OffEnd method runs. I know the additional data is loading, but I am unable to refresh the UltraGrid with the new data. I have tried Refresh(), RefreshAll() as well as clearing and resetting the handle of the BindingSource. When I reset the handle, the program behaves strangely, in that it chews up CPU time continuously until I close theprogram. I am using OpenEdge 10.2A02.

Any help will be appreciated.

Regards

Allan Green

All Replies

Posted by Admin on 07-May-2010 15:27

Its is ok I found my problem thanks to a post by Peter Van Dam. I was not setting the RowsAdded property. Thanks Peter.

Regards

allan Green

Posted by maura on 07-May-2010 15:28

Hi Allan,

You shouldn't be calling the Refresh() method. In your OffEnd event handler, are you setting the RowsAdded property with the number of new rows?

Also, are you reopening the top-level-query of the dataset?

Maura

This thread is closed