New Posts New Posts RSS Feed: Dataentry using DevExpress Nested Grid
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Dataentry using DevExpress Nested Grid

 Post Reply Post Reply
Author
jcdk View Drop Down
Newbie
Newbie


Joined: 25-Aug-2007
Location: Denmark
Posts: 11
Post Options Post Options   Quote jcdk Quote  Post ReplyReply Direct Link To This Post Topic: Dataentry using DevExpress Nested Grid
    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
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jcdk View Drop Down
Newbie
Newbie


Joined: 25-Aug-2007
Location: Denmark
Posts: 11
Post Options Post Options   Quote jcdk Quote  Post ReplyReply Direct Link To This Post Posted: 02-Jan-2008 at 11:14pm
Thanks for a fast response. I'll get in touch with DevExpress.
 
Rgds
Jesper Carstensen
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down