Hi,
I Know i can write code like this to hide itens from grid in edit mode:
But this way it only hiddes the data controls (a dropdownlist for example), leaving the label and the grid row visibles (this is in EditForms mode). Is there a way to hide this too ?
Thanks in advance.
I Know i can write code like this to hide itens from grid in edit mode:
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
GridEditableItem item = e.Item as GridEditableItem;
item["Price"].Visible = false;
}
But this way it only hiddes the data controls (a dropdownlist for example), leaving the label and the grid row visibles (this is in EditForms mode). Is there a way to hide this too ?
Thanks in advance.