Page Navigation Help
I am going to create page navigation for our ERP application.so I need below requirement using syncfusion control
1.Side bar should be in treeview which has three level.For example
a.Order Management system
a1.Order Receiving
a2.Order Processing
a1.1
SRF
Style Management
Color Management
2. When I click on third level in treeview node,the tileview should be loaded on first tab (which has dynamically loaded from list)
3. When I click on tileview (card),the page should be loaded in second tab
likewise if click on another tileview (card),the page should be loaded on another tab etc.
4. brudcrum should be in header (page navigation)
5.Need logo in top of the sidebar
6. Need search control in top of the sidebar
7.Need user image in bottom of the sidebar
8.Notification icon on top of the header (right side)
9.Need toggle option for sidebar (collapse/expand)
Note:-
Please check screencast from below link
https://www.screencast.com/t/8DYHhrdfyF
also please download psd file for your reference.
Attachment: PSD_1d14f3a5.zip
Please help
Without support team I can not finish my task
Syncfusion control is my challenging task
Thanks keertana
Will wait for soonest reply...
I always believe support team to solve my problem
Is it possible to get sample code on August 3 .
Because August 5 is my deadline
I will prepare your sample and apply in my erp project.
Please give high priority
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sidebar_blazor-1249446659_(2)1882669255.zip
Screenshot:
You can detect the selection of TreeView node using nodeSelecting event from where you can update the main content of Sidebar based on your scenario.
Please refer to the below links to know more about the Tab and Sidebar components.
Documentation: https://blazor.syncfusion.com/documentation/sidebar/getting-started/
https://blazor.syncfusion.com/documentation/treeview/getting-started/
Demo: https://blazor.syncfusion.com/demos/sidebar/default-functionalities?theme=bootstrap4
https://blazor.syncfusion.com/demos/treeview/default-functionalities?theme=bootstrap4
Please get back to us if you need further assistance.
Regards,
Shalini M.
Thanks for quick support..
That's great syncfusion team
Really I am happy for this support..
Can you provide tileview sample which I mention in psd ??
I have check above example
But page loading in tab is not available .
Please help me for above req
- Whether you need card (tile view) within sidebar?
- Whether you want to add and open a new tab on clicking the tile view or need to open the existing tab?
- Which content need to be rendered withing tab?
1.yes I need card view when I click on sidebar
2.yes I need to add and open new tab on clicking on tileview ( card).
3.First tab should be tileview by default ,when I click on sidebar.
And when I click on tileview the other page (component) should be added in another tab based on tileview.
Hope it's clear...
thanks foe support.it works fine
can you add below pending points
4. brudcrum should be in header (page navigation)
8.Notification icon on top of the header (right side)
9.Need toggle option for sidebar (collapse/expand) with icon provided in attached file.
Attachment: Navigation5_c31e93f4.zip
Is it possible to get my requirement today or tomorrow??
Because Saturday support team will not available
Thanks for your update.
|
<div class="main-header" id="header-section">
<ul class="header-list">
<li class="header-style float-right e-icons support border-left"></li>
<li class="header-style float-right notify e-icons border-left"></li>
</ul>
</div>
<style>
.notify::before {
content: '\e73d';
font-size: 25px;
}
.support::before {
content: '\e742';
font-size: 25px;
}
<\style> |
Note: You can add the required icon in the header as per your need.
Please check the below link for details on our icons library for various icons.
Query#3: need toggle option for sidebar (collapse/expand) with icon provided in attached file.
Based on your screenshot, we suspect that you might using the dock Sidebar in your application. We would like to let you know that dock state of the Sidebar reserves some space on the page that always remains in a visible state when the Sidebar is collapsed. It is used to show the short term of a content like icons alone instead of lengthy text.
You can achieve your requirement of binding toggle button in the Sidebar as demonstrated in the below code snippet,
|
<SfSidebar @bind-IsOpen="SidebarToggle">
<ChildContent>
<div id="hamburger" class="icon-menu icon list" @onclick="@Toggle"><span class="text">Toggle Sidebar</span></div>
</div>
</ChildContent>
</SfSidebar>
<style>
.icon-menu::before {
content: '\e801';
font-family: 'fontello';
font-size: 27px;
}
<\style> |
thanks for support...
I have below comments.please help me to resolve this..
Query#1: brudcrum should be in header (page navigation) --> please check below link and attached file for your reference.
https://www.screencast.com/t/XWRu4gvJi
Query#3: need toggle option for sidebar (collapse/expand) with icon provided in attached
file.https://www.screencast.com/t/BUM8FWCcpxkv
I need tab in below format
https://www.screencast.com/t/3BtofAMA
Query4:The sidebar and content page should be responsive (height/top,width,left,right should be adjust)
Note:-
I am using syncfusion theme and pixinventix materialize theme.so please add these themes in sample code to better css understanding
And I am not using bootstrap in my project.
Attachment: Navigation8A2_f68bcf03.zip
- Whether you need to render tab header in brudcrum(sidebar header) and tab content in sidebar content area?
- Whether you need both header in brudcrum(sidebar header) and whole tab in sidebar content area?
- Whether you need to render tab header in sidebar header and tab content in sidebar content area?
- Whether you want to add and open a new tab on clicking the treeview node?
- Share all the component details used for tab interactions?
|
<SfSidebar EnableDock="true" Type="SidebarType.Push" CloseOnDocumentClick="true" DockSize="55px" Target=".main-content" @ref="Sidebar"> <ChildContent> . . . </ChildContent> </SfSidebar> <div class="e-main-content contentclass" id="main-text"> <div class="main-header" id="header-section"> <ul class="header-list"> <li class="float-left header-style icon-menu" id="hamburger" @onclick="@Toggle"></li> <li class="float-left header-style nav-pane"><b>Navigation Pane</b></li> </ul> </div> <div class="sidebar-content"> </div> </div> </div> </div> |
Please find the below sample for your reference,
Video demo: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sidebar2126345800.zip
Demo: https://blazor.syncfusion.com/demos/sidebar/api?theme=bootstrap4
API Link: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SidebarType.html#Syncfusion_Blazor_Navigations_SidebarType_Push
Query1:
- Whether you need both header in brudcrum(sidebar header) and whole tab in sidebar content area? (YES)
- Whether you need to render tab header in sidebar header and tab content in sidebar content area? (Yes)
Is it possible to get answers today??
Please help..
This is my challenging task without syncfusion support it is very difficult to do this...
I will adapt this navigation layout in my erp application..
OK noted with thanks
Will wait for soonest reply..
thanks for support,
Please check my comments in below link and help me to do this...
Almost you have done my requirement but we need in responsive mode Please give top priority because Saturday support team will not available
Based on your query, we understand that you are facing an issue in opening and closing the Sidebar using hamburger icon. We tried to reproduce the reported issue in our sample provided in the previous update but we are unable to reproduce the issue at our end as the Sidebar open/close works fine while clicking the hamburger icon.
Based on your query, we could understand that your requirement is to make the Sidebar responsive. You can achieve your requirement by using the MediaQuery property. The MediaQuery allows you to set the Sidebar in an expanded state or collapsed state only in user-defined resolution. Please refer to the below code snippet,
|
<SfSidebar HtmlAttributes="@HtmlAttribute" EnableDock="true"DockSize="55px" Target=".main-content" @ref="Sidebar"MediaQuery="(min-width:600px)">
<ChildContent>
. . . . </ChildContent>
</SfSidebar> |
Please refer the below sample for your reference.
Sample:https://www.syncfusion.com/downloads/support/forum/167649/ze/Sidebar_blazor2015928120
Video demo:https://www.syncfusion.com/downloads/support/directtrac/general/ze/Responsive_sidebar830938298.zip
Documentation: https://blazor.syncfusion.com/documentation/sidebar/auto-close
|
<SfSidebar HtmlAttributes="@HtmlAttribute" Width="290px" EnableDock="true"DockSize="50px" >
<ChildContent>
<div class="main-menu">
<div>
<SfTreeView CssClass="main-treeview" @ref="TreeView"ExpandOn="@Expand" TValue="TreeData">
<TreeViewFieldsSettings Id="nodeId" Text="nodeText" IconCss="iconCss" > </TreeViewFieldsSettings>
</SfTreeView>
</div>
</div>
</ChildContent>
</SfSidebar>
@code {
Dictionary<string, object> HtmlAttribute = new Dictionary<string, object>()
{
{"class", "sidebar-treeview" }
};
protected override void OnInitialized()
{
base.OnInitialized();
treedata.Add(new TreeData { nodeId = "11", nodeText = "Browser", iconCss = "icon-microchip icon", pid = "12" });
treedata.Add(new TreeData { nodeId = "12", nodeText = "Packages", iconCss = "e-icons admin", hasChild = true });
}
}
<style>
.sidebar-treeview.e-sidebar.e-dock.e-open .icon-microchip, .sidebar-treeview.e-sidebar.e-dock.e-open .icon-microchip::before, .sidebar-treeview.e-sidebar.e-dock.e-open .admin,.sidebar-treeview.e-sidebar.e-dock.e-open .admin::before {
display: none;
}
.sidebar-treeview.e-sidebar.e-dock.e-close .icon-microchip, .sidebar-treeview.e-sidebar.e-dock.e-close .admin, .sidebar-treeview.e-sidebar.e-dock.e-close .icon-microchip::before,.sidebar-treeview.e-sidebar.e-dock.e-close .admin::before {
display: block;
}
.sidebar-treeview.e-sidebar.e-dock.e-close .main-treeview.e-treeview .e-list-text {
padding-left: 25px;
}
.sidebar-treeview.e-sidebar.e-dock.e-close .e-icons.e-icon-expandable {
display: none;
}
.sidebar-treeview.e-sidebar.e-dock.e-close .e-list-parent.e-ul {
overflow-x: hidden;
}
</style>
|
Please find the below sample for your reference.
API Link: https://ej2.syncfusion.com/documentation/api/treeview/fieldsSettings/#iconcss
Regards,
Thanks I have done almost..
But as per initial comment
Brudcrumb is missing in header
and also I need below points to successfully close this thread.
1.Need alert,notification an task icon with popup menu
2.Need theme switch using popup menu in header
3.user image should be in bottom of the sidebar
And popupmenu should be shown in user image (logout,user profile menu item).
Please help...
please check my comments in attached file
Attachment: Znavi04_6476ca9.zip
- 27 Replies
- 7 Participants
-
KI KINS
- Jul 28, 2021 09:04 AM UTC
- Aug 19, 2021 03:58 PM UTC