Coder Social home page Coder Social logo

devexpress-examples / devextreme-form-change-certain-items-based-on-value-of-another-item Goto Github PK

View Code? Open in Web Editor NEW
3.0 58.0 2.0 487 KB

This example demonstrates how to show/hide or enable/disable form items based on a value of another item.

License: Other

CSS 5.54% HTML 17.39% TypeScript 29.94% JavaScript 38.31% Vue 8.81%
angular devextreme vue react jquery editing form javascript

devextreme-form-change-certain-items-based-on-value-of-another-item's Introduction

Form for DevExtreme - How to change certain Form items based on a value of another item

This example demonstrates how to show/hide or enable/disable form items based on a value of another item.

The main idea is to change the visible option of a certain form item in the onFieldDataChanged form's event handler. The same approach can be used with the disabled option of the required form item editor. We can do that using editorOptions.

In our particular case, we hide the Address form item and disable the Hire Date item editor when the Position form item value is set to "CEO".

DevExtreme Form - How to change certain Form items based on a value of another item

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

devextreme-form-change-certain-items-based-on-value-of-another-item's People

Contributors

lexdx avatar nickmitrokhin avatar sergepilipchuk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

keinronald

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.