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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

8302 Oct 30,2003 05:04 PM Oct 30,2003 05:30 PM Windows Forms 1
loading
Tags: GridControl
ERobishaw
Asked On October 30, 2003 05:04 PM

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 05:30 PM

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.

CONFIRMATION

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.

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.

;