Home > Web Front-end > JS Tutorial > body text

jQuery EasyUI API Chinese Documentation - ComboTree combination tree_jquery

WBOY
Release: 2016-05-16 18:00:58
Original
1130 people have browsed it

extends from $.fn.combo.defaults and $.fn.tree.defaults. Rewrote defaults with $.fn.combotree.defaults .


Dependencies
combo
tree
Usage


Copy code The code is as follows:

$('#cc').combotree({
url:'tree_data.json'
});

特性

其特性扩展自 combo tree,下列是 combotree 重写的特性。

名称

类型

说明

默认值

editable

boolean

定义用户是否可以直接往文本域中输入文字。

false

事件

其事件扩展自 combo tree

方法

其方法扩展自 combo,下列是为 combotree 追加或重写的方法。

名称

参数

说明

options

none

返回 options 对象。

tree

none

返回 tree 对象。

loadData

data

加载本地的 tree 数据。

reload

url

再一次请求远程的 tree 数据。

clear

none

清除组件的值。

setValues

values

Set the array to the value of the component.

setValue

value

Set the value of the component.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!