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
close icon

datanot binding to the grid

Here is the prob:

I have a gridDataBoundGrid bound to an arraylist.
On the event of clicking on the menuItem in a ContextMenuStrip, I do this:

{
grid.enableEdit = true;
grid.EnableRemove = true;
object or = new object();
or.name = "name";
or.Number = "45";
arrayList.add(new object);
grid.datasource = arrayList;
grid.invalidate();
grid.refresh();
}

The grid shows a blank column. when teh values are typed into the cell.. they are not persistent. i.e they disappear after typing.

PLZ HELP

1 Reply

RA Rajagopal Syncfusion Team July 28, 2007 01:30 AM UTC

Hi NGP,

Thanks for your interest in Syncfusion Products.

I am not able to see this behavior here, I got this working fine in the below sample without any problem.

Here is the sample download link
http://websamples.syncfusion.com/samples/Grid.Windows/F65874/main.htm

Please refer the above sample and let me know if this helps.

Have a nice time.
Regards,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon