I am working on a master/detail type grid project. The parent level tables are bound to the grid using a "NeedsDatasource" event. The DetailViewTableBind event is used to bind data to the child items. In reality the parent data row contains a list of objects which represent the data being displayed in the child data.
Visually everything looks like it is working until I press the "edit" button on a element of the child table. When I do this the grid appears to refresh and the "details" vanish. The grid is left in update mode with no details visible and no ability to cancel the update mode.
As an example,
header row 1
(edit) detail row 1-1
(edit) detail row 1-2
header row 2
(edit) detail row 2-1
(edit) detail row 2-1
If I click on the edit button on "detail row 2" (on header row 1), the display refreshes as follows:
header row 1
header row 2
(edit) detail row 2-1
(edit) detail row 2-2
Visually the two detail rows present on header row 1 vanish.
The parent grid is setup with allow automatic update/inserts/deletes. The HierarchyLoadMode is set to Client.
Can anyone give me a clue what I am overlooking? I need to be able to edit the child "table" without the parent rows being in edit mode.
Any suggestions would be appreciated.
Visually everything looks like it is working until I press the "edit" button on a element of the child table. When I do this the grid appears to refresh and the "details" vanish. The grid is left in update mode with no details visible and no ability to cancel the update mode.
As an example,
header row 1
(edit) detail row 1-1
(edit) detail row 1-2
header row 2
(edit) detail row 2-1
(edit) detail row 2-1
If I click on the edit button on "detail row 2" (on header row 1), the display refreshes as follows:
header row 1
header row 2
(edit) detail row 2-1
(edit) detail row 2-2
Visually the two detail rows present on header row 1 vanish.
The parent grid is setup with allow automatic update/inserts/deletes. The HierarchyLoadMode is set to Client.
Can anyone give me a clue what I am overlooking? I need to be able to edit the child "table" without the parent rows being in edit mode.
Any suggestions would be appreciated.