Sidebar toggle


#1

is there a way when the page loads to have the sidebar hidden until the toggle is clicked ?


#2

This is doable by following these steps:

  1. Exclude the main layout from code generation. Go to the application settings page (... item in the top right corner of Radzen) and type client\src\app\main-layout in the Code generation ignore list textbox. Click Save.
  2. Open the client\src\app\main-layout\main-layout.component.html with your favourite text editor program. Set the open property of the Angular component to false:

<rz-sidebar #sidebar0 [open]="false">


#3

That worked great. Thanks!