As we already have 2 open threads on problems with SfDataManager, both of which are held on "please provide code sample", and we can't provide our complete code base, I've started a new simple code example to hopefully isolate.
Current Issues:
https://www.syncfusion.com/forums/172921/setting-pagesize-in-19-4-0-52-no-longer-working
https://www.syncfusion.com/forums/171965/failure-binding-to-odatav4
Please find attached simple project that opens a WASM Grid, retrieves the data, then fails on edit. Note: I think this problem is separate from the 2 above, and maybe I've made a mistake here, but this edit simply doesn't call the controller either.
So why is this edit failing?
|
<SfGrid TValue="OrgUnit" AllowPaging="true" AllowFiltering=true AllowGrouping=true Toolbar="@ToolbarItems" >
<GridPageSettings PageSize="50"/>
<GridEditSettings AllowEditing="true" Mode="Syncfusion.Blazor.Grids.EditMode.Normal"/>
<SfDataManager Url="odata/OrgUnits" Adaptor="Adaptors.ODataV4Adaptor" Key="Id" />
<GridEvents TValue="OrgUnit" OnActionFailure="@ActionFailure"></GridEvents>
<GridColumns>
<GridColumn Field="@nameof(ou.Id)" Width=120 IsPrimaryKey="true" IsIdentity="true" />
</GridColumns>
</SfGrid> |
OK, thanks, yes, let's close this out. I was trying to isolate the CRUD issues having separately with the other SfTreeView / byte[] issue:
https://www.syncfusion.com/forums/171965/failure-binding-to-odatav4
But this one was my mistake.
May as well just delete this thread.