Hi.
How can i remove edit button for a detailtable with in place mode in a hierarchical grid?
I have found a solution for a grid as follows:
if (e.Item.OwnerTableView.IsItemInserted && e.Item is GridDataInsertItem)
{
radGrid.MasterTableView.GetColumn(columnName).Visible = true;
foreach (GridDataItem dataItem in radGrid.MasterTableView.Items)
{
(dataItem[columnName].Controls[0]).Visible = false;
}
}
else
radGrid.MasterTableView.GetColumn(columnName).Visible = false;
but can't find out who to hide the edit button for the detailtable when i have a hierarchical grid with on detail table. Anyone?
How can i remove edit button for a detailtable with in place mode in a hierarchical grid?
I have found a solution for a grid as follows:
if (e.Item.OwnerTableView.IsItemInserted && e.Item is GridDataInsertItem)
{
radGrid.MasterTableView.GetColumn(columnName).Visible = true;
foreach (GridDataItem dataItem in radGrid.MasterTableView.Items)
{
(dataItem[columnName].Controls[0]).Visible = false;
}
}
else
radGrid.MasterTableView.GetColumn(columnName).Visible = false;
but can't find out who to hide the edit button for the detailtable when i have a hierarchical grid with on detail table. Anyone?