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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

dataGrid in popup doesn't add Header row first time shown

Thread ID:





8302 Oct 30,2003 10:04 PM UTC Oct 30,2003 10:30 PM UTC WinForms 1
Tags: GridControl
Asked On October 30, 2003 10:04 PM UTC

Datagrid in a popup (gridDropDownContainer) At popup, i'm populating the grid, then adding a header row (which has a SUM formula added to each column). The first time the grid is shown, the header row is not added...the code runs, no errors, but the header is not there. The second time it runs, it is shown. IF I show the popup, and THEN populate the grid and add the extra column, then it does show up the first and subsequent times... however, it's really really slow, because I'm setting column widths (when the grid isn't shown while setting columns widths, its very fast...)

Administrator [Syncfusion]
Replied On October 30, 2003 10:30 PM UTC

You can probably get things to display quicker by adding grid.BeginUpdate() and grid.Binder.SuspendBinding() before you populate the grid, and the grid.Binder.ResumeBinding() and grid.EndUpdate() after you finish the population code.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon