This example illustrates how to declare a DropDownBox in an item using templates:
Here, a Form item includes a DropDownBox editor with an embedded DataGrid. To implement validation for the editor and the Form, add the following logic:
- Assign the same validationGroup to the Form and the DropDownBox's Validator. See dxForm.validationGroup and dxValidator.validationGroup
- Then, call the DevExpress.validationEngine.validateGroup(group) method to validate the Form and the DropDownBox.
- Angular
- jQuery
- React
- Vue
- ASP.NET
(you will be redirected to DevExpress.com to submit your response)