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

First Row refresh

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon