|
@@ -45,6 +45,15 @@ internal class DeliveryEquipmentList : DynamicDataGrid<DeliveryEquipment>, IMast
|
|
|
return columns;
|
|
|
}
|
|
|
|
|
|
+ protected override BaseEditor? GetEditor(object item, DynamicGridColumn column)
|
|
|
+ {
|
|
|
+ if(column.ColumnName.StartsWith(nameof(DeliveryEquipment.Equipment) + "."))
|
|
|
+ {
|
|
|
+ return new NullEditor();
|
|
|
+ }
|
|
|
+ return base.GetEditor(item, column);
|
|
|
+ }
|
|
|
+
|
|
|
protected override void DoAdd(bool openEditorOnDirectEdit = false)
|
|
|
{
|
|
|
if ((Master?.ID ?? Guid.Empty) == Guid.Empty)
|