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.

First Row refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

43524 Apr 25,2006 10:30 AM Apr 26,2006 02:32 AM Windows Forms 1
loading
Tags: GridControl
Nevin
Asked On April 25, 2006 10:30 AM

I am using Essential grid. The data source of the grid is an array list. When I try to add the first row in the grid by adding a new item in the array list, the grid is not refreshed. I have done commitchanges(). My array list contains the newly created object. Thanks in advance

Administrator [Syncfusion]
Replied On April 26, 2006 02:32 AM

Hi Nevin, An arbitrary ArrayList DataSource does not fire any events to notify any changes. In such cases, you would have to explicitly call grid.Refresh after the arraylist changes. Also the Binder.InitializeColumns must be called at the first time when the object is added in the arralist to initialize the internal columns. this.gridDataBoundGrid1.Binder.InitializeColumns(); this.gridDataBoundGrid1.Refresh(); Regards, Calvin.

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.

;