How to put a Form in the KendoDrawer

1 Answer 91 Views
Drawer
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Grant asked on 06 Dec 2021, 03:37 PM

Hi Team, 

How can I use the Drawer differently, other than to display a list of items, like a form or some other component?

I see how to remove the mini, and then I can control the expended prop with state, but how can i customize its content?

Thanks,
Grant

1 Answer, 1 is accepted

Sort by
1
Konstantin Dikov
Telerik team
answered on 07 Dec 2021, 02:17 PM

Hi Grant,

The Drawer is a component designed for navigation. Nevertheless, you can render custom content in two ways:

  1. Customizing the "item": https://www.telerik.com/kendo-react-ui/components/layout/drawer/custom_rendering/
  2. Defining custom content directly in the DrawerNavigation: https://stackblitz.com/edit/react-fguhdl-fraagb?file=app/main.jsx

The second approach would be more appropriate for more complex scenarios.

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Drawer
Asked by
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Konstantin Dikov
Telerik team
Share this question
or