RadGrid: rebind detailtable from external event
protected void ReBindExpandedDetailTable()
        {
            foreach (GridDataItem item in RadGrid1.Items)
            {
                string aaaValueString= item.GetDataKeyValue("aaa").ToString();
                if (aaaValueString== 
                {
                    if (item.Expanded == true)
                    {
                        GridTableView nestedView = ((GridDataItem)item).ChildItem.NestedTableViews[0];
                        nestedView.Rebind();
                    }
                }
            }
        }
 
No comments:
Post a Comment