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.
Syncfusion Feedback

GGC adding new row

Thread ID:

Created:

Updated:

Platform:

Replies:

40891 Feb 15,2006 09:18 PM UTC Feb 17,2006 07:43 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 15, 2006 09:18 PM UTC

When I add a new row the next row doesn''t appear until after I hit enter or leave the row. Is there anyway to make this behave like the databound grid where as soon as you start editing the next new row is created? Also can I automatically expand the nested table entries under my new row?

Administrator [Syncfusion]
Replied On February 17, 2006 07:43 PM UTC

Hi Chuck, there is no easy way to implement either of the two features. The problem is the underlying table needs to have an entry added first that is properly sorted into the existing binary tree structures. With the extra add new row the one idea would be to have a custom section similar to the CustomSectionInGroup example. This extra section you could hide/show as needed. But the showing/hiding needs to make sure counters in the underlying Table are invalidated. There might be some challenges to get this behave correclty. So I would only do it if it is really needed to behave exactly that way. One other thing you could try is call grid.Table.CurrencyRecordManager.EndEdit() when you leave a cell or when you start editing a cell but that is again very different from the databound grid since it commits the added record to the underlying datasource. Stefan >When I add a new row the next row doesn''t appear until after I hit enter or leave the row. Is there anyway to make this behave like the databound grid where as soon as you start editing the next new row is created? > >Also can I automatically expand the nested table entries under my new row?

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

;