or
RadGridView1.Columns.Move();
DataSet
ds = (DataSet)radGridViewMain.MasterGridViewTemplate.DataSource;
DataTable dt = ds.Tables["Details"];
int headerID = Convert.ToInt32(e.ParentRow.Cells["ID"].Value);
Details dtl = new Details();
DataRow[] dr = dt.Select(String.Format("HeaderID={0}", headerID));
if (dr.Length <= 0)
{
dt.Merge(dtl.GetRecords(headerID),
true);
}
Works great the on the first + selected, but as soon as I select another row's children to display the first childset is cleared out.
How do I load the child recrods dynamically? Any samples on that?
