Devextreme-reactive: How to hide default component on AppointmentForm.BasicLayout

Created on 25 Nov 2020  路  3Comments  路  Source: DevExpress/devextreme-reactive

  • [x] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [ ] React Grid
  • [ ] React Chart
  • [x] React Scheduler

Description

How can I hide AppointmentForm.BasicLayout's default component elements( i.e: Title,dateEditor, More Information, AllDay, Repeat checkboxes)? I am successfully able to add custom components to the AppointmentForm using AppointmentForm.BasicLayout, but I am not able to hide the default elements that come's with AppointmentForm.BasicLayout in the AppointmentForm.

Is it possible to hide all those elements? Once user open's the appointment form, they should be able see a blank form / or only their custom component.

Environment

  • devextreme-reactive: xxx
  • react: xxx
  • browser: xxx
  • bootstrap: none
  • react-bootstrap: none
  • material-ui: none
Scheduler question

Most helpful comment

Hello!

If you do not want to use all of our default components inside the BasicLayout, you may choose not to use it at all. Like I've done here: https://codesandbox.io/s/condescending-chaum-9jlne?file=/demo.js. And after that, you can add to it anything you want.

Should you encounter any other problem, we will be happy to assist you!

All 3 comments

Hello!

If you do not want to use all of our default components inside the BasicLayout, you may choose not to use it at all. Like I've done here: https://codesandbox.io/s/condescending-chaum-9jlne?file=/demo.js. And after that, you can add to it anything you want.

Should you encounter any other problem, we will be happy to assist you!

Thank you very much. Example was really helpful! It's solves the problem.

I am glad that it helped!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pbalzano91 picture pbalzano91  路  3Comments

linuxhype picture linuxhype  路  3Comments

franklixuefei picture franklixuefei  路  3Comments

rajmakda picture rajmakda  路  3Comments

bloolizard picture bloolizard  路  3Comments