i have two tables are related. My GDBG is readonly and I add, edit data programmatically. And sometimes
sign "+" disappear and I can''t expand and collapse parent rows.
I do the next:
1. Added Parent row.
2. Clicked on "+".
3. "+" disappeared
4. Added child row to parent that was added above.
5. and "+" did not appear.
And I can''t see my added child row.
ADAdministrator Syncfusion Team May 17, 2004 07:02 AM
This thread discusses how you might add a row to an empty child table.
SISilenterMay 17, 2004 11:58 PM
As I think, You propose me to rebind grid every time when I Add new row to the childtable like this:
private void RebindGrid()
object ds = grdData.DataSource;
String dataMember = grdData.DataMember;
grdData.DataSource = null;
grdData.DataMember = String.Empty;
grdData.DataSource = ds;
grdData.DataMember = dataMember;
And is it all for "+" appear ????????
I don''t think that it is a good way.
May be is there more civilized way?