Пример #1
0
        private void gvlHistory_MasterRowExpanded(object sender, CustomMasterRowEventArgs e)
        {
            GridView view = sender as GridView;
            MTSymbol c    = (MTSymbol)view.GetRow(e.RowHandle);

            GridView childView = view.GetDetailView(e.RowHandle, e.RelationIndex) as GridView;

            if (childView != null)
            {
                symbol = c.Name;
                childView.AddNewRow();
            }
        }