|
<SfGrid @ref="Grid" DataSource="@Orders" AllowPaging="true" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Cancel", "Update" })" Height="315">
<GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true"></GridEditSettings>
<GridEvents DataBound="DataBoundHandler" TValue="Order"></GridEvents>
</SfGrid>
@code{
SfGrid<Order> Grid { get; set; }
public List<Order> Orders { get; set; }
public void DataBoundHandler()
{
Runtime.InvokeVoidAsync("BottomToolbar", Grid.ID);
}
|
Hi Vignesh Natarajan ,
The sample application is working fine and it is what I want (Toolbar at the bottom).
My question is I'm using Syncfusion.Blazor version 20.2.0.43. Is there any breaking changes with version 20.2.0.43? I can't seem to replicate moving the Toolbar to the bottom using the exact code. Is there a new script that I need to use in _Host.cshtml file?
Regards,
Oliver
Hi Oliver,
We have checked your query and we we would like to inform that we have included breaking changes in loading scripts and styles in our latest version and javascript isolation is marked as obsolete from our version(20.1.0.47). So we suggest you to use any one of the below method to load styles and scripts externally for better performance.
Also refer the below release notes for your additional information.
Reference: https://blazor.syncfusion.com/documentation/release-notes/20.2.36?type=all
Example code snippet:
|
[layout.cshtml]/[Host.cshtml]
<link rel='nofollow' href=https://cdn.syncfusion.com/blazor/20.2.43/styles/bootstrap5.css rel="stylesheet"/> <script src=https://cdn.syncfusion.com/blazor/20.2.43/syncfusion-blazor.min.js type="text/javascript"></script>
|
Note: Need to disable javascript isolation while using the above ways( AddSyncfusionBlazor()).
Please get back to us if you need further assistance.
Regards,
Naveen Palanivel