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

Problem with adding new rows - Urgent - help please!!

Thread ID:

Created:

Updated:

Platform:

Replies:

79666 Feb 19,2009 10:17 PM UTC Feb 23,2009 02:48 PM UTC WinForms 3
loading
Tags: GridControl
Siva
Asked On February 19, 2009 10:17 PM UTC

Hi,
I use WinForms grid grouping control. I bind an empty datatable to the grid. When I try to add new rows, I get a message "AddNew not called".

When I bind a datatable having at leaset one row, everything works fine.

I use version 4.3.0.30 with .NET1.1. Could someone let me know what is going wrong?

Thanks!


Rajadurai C [Syncfusion]
Replied On February 20, 2009 03:41 PM UTC

Hi Siva,

Thanks for your interest in Syncfusion products.

Please try calling the AddNew() method while forcing the new record to add to the grid.

this.gridGroupingControl1.Table.AddNew();


This initializes the table by calling BeginEdit() method.

Regards,
Rajadurai


Siva
Replied On February 20, 2009 05:28 PM UTC

Thanks for the reply.

Where am I suppoed to call "this.gridGroupingControl1.Table.AddNew();" ( I mean in which event handler )?

Thanks again!

>Hi Siva,

Thanks for your interest in Syncfusion products.

Please try calling the AddNew() method while forcing the new record to add to the grid.

this.gridGroupingControl1.Table.AddNew();


This initializes the table by calling BeginEdit() method.

Regards,
Rajadurai




Rajadurai C [Syncfusion]
Replied On February 23, 2009 02:48 PM UTC

Hi Siva,

You can try to handle this method invocation in CurrentCellEditingComplete event by checking if the currentcell is in addnewrecord.

Regards,
Rajadurai


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.

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

;