|
@@ -214,6 +214,10 @@ namespace InABox.DynamicGrid
|
|
{
|
|
{
|
|
Label = buttonEditor.Label
|
|
Label = buttonEditor.Label
|
|
},
|
|
},
|
|
|
|
+ BlobEditor blobEditor => new BlobEditorControl()
|
|
|
|
+ {
|
|
|
|
+ Label = blobEditor.Label
|
|
|
|
+ },
|
|
EmbeddedListEditor listEditor => new EmbeddedListEditorControl()
|
|
EmbeddedListEditor listEditor => new EmbeddedListEditorControl()
|
|
{
|
|
{
|
|
DataType = listEditor.DataType,
|
|
DataType = listEditor.DataType,
|
|
@@ -538,6 +542,10 @@ namespace InABox.DynamicGrid
|
|
{
|
|
{
|
|
ConfigureButtonControl(buttonControl, buttonEditor);
|
|
ConfigureButtonControl(buttonControl, buttonEditor);
|
|
}
|
|
}
|
|
|
|
+ else if (Editor is BlobEditorControl blobControl && editor is BlobEditor blobEditor)
|
|
|
|
+ {
|
|
|
|
+ ConfigureBlobControl(blobControl, blobEditor);
|
|
|
|
+ }
|
|
|
|
|
|
Editor.Configure();
|
|
Editor.Configure();
|
|
if (!Editors.Any(x => x.ColumnName.Equals(Editor.ColumnName)))
|
|
if (!Editors.Any(x => x.ColumnName.Equals(Editor.ColumnName)))
|
|
@@ -550,6 +558,11 @@ namespace InABox.DynamicGrid
|
|
{
|
|
{
|
|
buttonControl.OnClick += buttonEditor.OnClick;
|
|
buttonControl.OnClick += buttonEditor.OnClick;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ private void ConfigureBlobControl(BlobEditorControl blobControl, BlobEditor blobEditor)
|
|
|
|
+ {
|
|
|
|
+ blobControl.OnClick += blobEditor.OnClick;
|
|
|
|
+ }
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|