FocusAgent

From Documentation
Revision as of 02:55, 18 January 2022 by Hawk (talk | contribs) (correct highlight (via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Focus & Blur

Only components that inherit org.zkoss.zul.impl.InputElement supports FocusAgent.

inputComponent.as(FocusAgent.class).focus();

inputComponent.as(FocusAgent.class).blur();

Supported Components

Components
Version
Note
A, Button, Bandbox, Combobox, Checkbox,

Datebox, Decimalbox, Doublebox, Doublespinner, Intbox,

Listbox, Longbox, Radio, Spinner, Textbox,

Timebox, Tree

5, 6





Last Update : 2022/01/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.