React Form - colCountByScreen
Specifies dependency between the screen factor and the count of columns in the form layout.
The following code sample illustrates how to set this property:
App.js
- import React from 'react';
- import Form, { ColCountByScreen } from 'devextreme-react/form';
- const App = () => {
- return (
- <Form ...>
- <ColCountByScreen xs={2} />
- </Form>
- );
- };
- export default App;