We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GridGroupingControl missing new rows

hi, i''m adding new rows to the dataset at runtime (after bindings are set up). even after calling EndUpdate(true) , these rows do not show up. any suggestions? regards

7 Replies

AD Administrator Syncfusion Team November 1, 2005 07:01 PM UTC

This should more or less just work. Here is a little sample that adds a new row every 3/5 sec and it shows up OK in the GridGroupingControl. What are you doing differently? http://www.syncfusion.com/Support/user/uploads/GGC_NewRows_4fc69f0a.zip


AD Administrator Syncfusion Team November 1, 2005 07:47 PM UTC

>This should more or less just work. > >Here is a little sample that adds a new row every 3/5 sec and it shows up OK in the GridGroupingControl. What are you doing differently? > >http://www.syncfusion.com/Support/user/uploads/GGC_NewRows_4fc69f0a.zip > hi, the situation i have is more complicated with relations. when the tables involved in the relations are inserted, it seems it loses them.


AD Administrator Syncfusion Team November 1, 2005 08:13 PM UTC

Here is a sample with 3 tables nested. http://www.syncfusion.com/Support/user/uploads/GGC_NewRows_54cca4f0.zip


AD Administrator Syncfusion Team November 1, 2005 08:38 PM UTC

and, the records are being added on another thread, then acceptchanges is called.


AD Administrator Syncfusion Team November 1, 2005 09:00 PM UTC

You need to make sure that you only interact with the grid on the thread that created it. If you can upload a sample project showing the problem we can try to debug it here.


AD Administrator Syncfusion Team November 2, 2005 02:57 PM UTC

>You need to make sure that you only interact with the grid on the thread that created it. If you can upload a sample project showing the problem we can try to debug it here. hi, yes the grid is on its own thread. however the data gets added to the dataset on another thread. the design of the app keeps UI and data threads separate. the dataset is hiearchical 4 levels deep and is updated dozens of times a second. do you see any problems with this? the DS has thousands of records. this is also causing performance issues in the grouping control. can the GDBC work in this scenario? Is there a hiearchical virtual grid for this scenario?


AD Administrator Syncfusion Team November 2, 2005 03:37 PM UTC

I think this should work using version 3.3. Here is the sample modified to add the new rows on a background thread. http://www.syncfusion.com/Support/user/uploads/GGC_NewRows_e45b7a69.zip

Loader.
Live Chat Icon For mobile
Up arrow icon