TextArea

A widget used to display and edit multi-line text.

Type: Object

The dxTextArea widget represents a multi-line resizable text field. The text currently displayed by the widget is specified by the value option.

Declare an observable variable and pass it to the value option to update the variable each time widget value changes.

JavaScript
var text = ko.observable(0);

To create the dxTextArea widget, add a div element with dxTextArea Knockout binding within the body of the required view.

HTML
<div data-bind="dxTextArea:{value:text}"></div>

Refer to the Add a widget documentation section to learn how to create widgets in detail.

Show Example:
jQuery

Configuration

An object defining configuration options for the dxTextArea widget.

Methods

This section describes the members used to manipulate the widget.

Events

This section describes events fired by this component.