Vue Form - colCountByScreen
Specifies the number of Form columns for different screen sizes.
The following code snippet specifies 2 columns for the "xs" screen size:
App.vue
- <template>
- <DxForm ... >
- <DxColCountByScreen :xs="2" />
- </DxForm>
- </template>
- <script setup lang="ts">
- import { DxForm, DxColCountByScreen } from 'devextreme-vue/form';
- </script>
NOTE
Changing the column count repaints the Form. Repainting resets item states and reinitializes Form items and item templates.