You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make custom renderer and editor for cells of complex type, say "Person".
The renderer part which is quite easy. However, I failed the editor part.
I found in BlazorDatasheet.Edit.BaseEditor where value is string-based, and complex type objects are converted to string (so the value of the person John becomes "Person")
BaseEditor.cs
[Parameter]
public EventCallback<string> OnValueChanged { get; set; }
public string CurrentValue
{
get
{
return _currentValue;
}
protected set
{
bool num = _currentValue != value;
_currentValue = value;
if (num)
{
OnValueChanged.InvokeAsync(value);
StateHasChanged();
}
}
}
Hi Andrew, how is it going?
I am trying to make custom renderer and editor for cells of complex type, say "Person".
The renderer part which is quite easy. However, I failed the editor part.
I found in BlazorDatasheet.Edit.BaseEditor where value is string-based, and complex type objects are converted to string (so the value of the person John becomes "Person")
BaseEditor.cs
Any suggestion?