DHTMLX Docs & Samples Explorer

Index
dhtmlxForm
Controls Operations

# Visibility of input

To set or retrieve whether the control is displayed.
Applied to all items.

    // showing item
    dhxForm.showItem(name, value); // for radio buttons 2nd argument value should be passed
    // hiding item
    dhxForm.hideItem(name, value);
    // getting current state
    var isHidden = dhxForm.isItemHidden(name, value); // returns true/false