November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
You can use a custom editor descriotor and override the GridDefinition commands to not include "Edit" as an option. Something like below. Please note i have not tested the below code. But it should work.
[EditorDescriptorRegistration(TargetType = typeof(IList<MyCustomProperty>))]
public class MyCustomEditorDescriptor : CollectionEditorDescriptor<MyCustomProperty>
{
public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
{
base.ModifyMetadata(metadata, attributes);
var commands = base.GridDefinition.Commands - CollectionEditorCommands.Edit;
metadata.EditorConfiguration.Add("commands", (object) commands );
}
}
~ Sujit
Hey all!
Next to selection factory list items there are options to Edit, Move Up, Move Down and Delete. Is there a built in attribute or other way to remove Edit option to particular selection factory? Screenshot attached:
Cheers!