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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

First Row refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

43524 Apr 25,2006 02:30 PM UTC Apr 26,2006 06:32 AM UTC WinForms 1
loading
Tags: GridControl
Nevin
Asked On April 25, 2006 02:30 PM UTC

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 06:32 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;