Search Results: wegh edit
- All Results 367
- Guides 135
- Reference 232
- Technical Demos
- Support Center
Use MUI components in your DevExtreme application
run dev DevExtreme components inside MUI components The src/MUI-Form-with-DX-editors.tsx file contains an MUI form with DevExtreme inputs. Form context and hooks The FormControl MUI component... not have access to the useFormControlContext hook out of the box, we need to create a wrapper function: MUI-Form-with-DX-editors.tsx // In accordance with MUI conventions, do not capitalize the name
Localization
-editingDeleteRow": "Remove", "dxDataGrid-editingUndeleteRow": "Recover" } }); }); Angular app.component.ts import { Component } from '@angular/core'; import { loadMessages } from...() { loadMessages({ "en": { "dxDataGrid-editingDeleteRow": "Remove", "dxDataGrid-editingUndeleteRow": "Recover" } }); } } Vue
Link Modules
DevExtreme comes in pre-assembled bundles. dx.viz.js includes Charts, Gauges, Funnel, VectorMap, and other data visualization UI components. dx.web.js includes Grids, Scheduler, Form, and various editors. dx.all.js compile the previous two bundles. Bundles that include a particular UI component are listed on the UI component's overview page in the API reference. Alternatively, you can use
Security Considerations
app.component.htmlapp.component.tsapp.module.ts <form action="your-action" (submit)="onFormSubmit($event)"> <dx-html-editor ... [(value)]="editorValue"> </dx-html-editor> <dx... be encoded (converted to plain text). Encode User Input DevExtreme text editors, such as TextBox, Autocomplete, and HTML Editor, do not encode user input. We recommend that you apply third-party
Best Practices
. For generalization, use a union to define your own type. For example, if you need a type for properties of multiple editor components, define the following union: type EditorProps = TextAreaTypes.Properties...; <DxDataGrid :data-source="dataSource" ref="dataGridRef" @editor-preparing="onEditorPreparing" > </DxDataGrid> <