Angular 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:
HTML
TypeScript
- <dx-form ... >
- <dxo-col-count-by-screen [xs]="2"></dxo-col-count-by-screen>
- </dx-form>
- import { DxFormModule } from "devextreme-angular";
- // ...
- export class AppComponent {
- // ...
- }
- @NgModule({
- imports: [
- // ...
- DxFormModule
- ],
- // ...
- })