Print Page | Close Window

Dataentry using DevExpress Nested Grid

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=642
Printed Date: 11-Jun-2026 at 10:49am


Topic: Dataentry using DevExpress Nested Grid
Posted By: jcdk
Subject: Dataentry using DevExpress Nested Grid
Date Posted: 02-Jan-2008 at 3:05pm
Hi,
 
I am trying to create a solution where I can enter data in a nested grid using DevExpress 7.2.
 
I have a grid controlled by BudgetLineXGBM, and I have added a subgrid controlled by BudgetLineItemXGBM using the following code:
 
BudgetLineItemXGBM.GridView = BudgetLineXGBM.AddRelationView("Item", "BudgetLineItems")
 
In order to get a NewItemRow in the subgrid I've added the following:

BudgetLineItemXGBM.GridView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom

So far so good. I get a NewItemRow in the subgrid as expected, BUT, I can not enter new rows. When I start writing in the NewItemRow, I would have expected the BudgetLineItemBS.AddingNew to fire (BudgetLineItemBS is bound to BudgetLineItemXGBM), but it does not fire, as far as I can see.

Am I missing something?

All help appriciated.

Best regards
Jesper Carstensen



Replies:
Posted By: davidklitzke
Date Posted: 02-Jan-2008 at 7:30pm
You are correct.  The "AddingNew" event does not fire.  I have confirmed this with another customer who very much wanted the same feature.
 
You might try calling DevExpress Technical Support as the eventing behavior you are looking for is the responsibility of DevExpress, not IdeaBlade.


Posted By: jcdk
Date Posted: 02-Jan-2008 at 11:14pm
Thanks for a fast response. I'll get in touch with DevExpress.
 
Rgds
Jesper Carstensen



Print Page | Close Window