How to suppress new-data row in datagrid with parent-child data
- From: "Steve Marshall" <stevem@xxxxxxxxxxxxxx>
- Date: 17 Sep 2006 23:03:03 -0700
Hi All,
I have a form set up with a data source which has a parent-child
relationship. The parent table is bound to a combo box, and the child
to a datagrid. I want the datagrid to show the child records for the
parent selected in the combo. I know how to do this, and it all works
fine. But I cannot suppress the datagrid row with the * against it,
where a new row can be entered.
for the datagrid a DataView, with the AllowAddNew property set False.From what I have read, the way to do this is to make the data source
That's fine, but as soon as I do that I lose the parent-child behaviour
- catch 22!
Is there a way to suppress the new-data row in the grid, AND preserve
the parent-child behaviour I need? It sure as hell isn't intuitive!
.
- Prev by Date: Re: Form.TopMost behaviour
- Next by Date: RE: IE Hosted UserControl - javascript interaction not working.
- Previous by thread: Re: Form.TopMost behaviour
- Next by thread: Adding a UserControl to the Component Tray
- Index(es):
Relevant Pages
|