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
close icon

No records displayed in GridGroupingControl1

Hello,

I made a test WinForm program based on the GridGroupingControl console tutorial program that creates a list with fields A, B, C, D (and partly based on the tutorial on using an ADO data source). The column headings show up in the grid but the data (rows) do not.

After calling the following, do I need to trigger the GridGroupingControl to redraw itself?

// Create a Grouping.Engine object.
Engine groupingEngine = new Engine();

// Set its data source.
groupingEngine.SetSourceList(list);

Thanks,

Steve

1 Reply

ST SteveP June 7, 2007 08:21 PM UTC

I got it working by setting the

gridGroupingControl1.DataSource = list;

as opposed to

groupingEngine.SetSourceList(list)

(which I got from an example).

Thanks,

Steve

Loader.
Live Chat Icon For mobile
Up arrow icon