Hi,
I used the DataGrid InCell Editing in my project ans it works fine.
Now, i would like to know if it's possible to use it with a RadzenCheckBox in a column.
Regards,
What’s stops you to define it similar to other editors in the demo?
I forgot to say i'm using a DataGrid with dynamic data.
It can work with this kind of datagrid?
Apparently, it doesn't work with dynamic data.
I cannot use the change method od RadzenCheckBox :
I get this error message : Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
You might want to check this thread:
Apparently, it's not possible to use RadzenCheckBox in InCell Editing mod with dictionnary values.
I still get this error message : " Unhandled exception rendering component: Unable to evaluate index expressions of type 'PropertyExpression'.
System.InvalidOperationException: Unable to evaluate index expressions of type 'PropertyExpression'.
at Microsoft.AspNetCore.Components.Forms.ExpressionFormatter.FormatIndexArgument(Expression indexExpression, ReverseStringBuilder& builder)
at Microsoft.AspNetCore.Components.Forms.ExpressionFormatter.FormatIndexArgument(Expression indexExpression)
at Microsoft.AspNetCore.Components.Forms.FieldIdentifier.ParseAccessor[T](Expression1 accessor, Object& model, String& fieldName) at Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Create[TField](Expression
1 accessor)
at Radzen.FormComponent`1.SetParametersAsync(ParameterView parameters)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.SupplyCombinedParameters(ParameterView directAndCascadingParameters)"
With RadzenTextBox, no problem.
Have you checked the example in the thread I’ve linked? The editing is performed in a separate component where value can be simple string/bool/whatever.
Hi,
FInally, i have found my error.
Thanks for your support.