HTML5 <datagrid> 标签

定义和用法

<datagrid> 标签定义可选数据的列表。datagrid 作为树列表来显示。

HTML 4.01 与 HTML5 之间的差异

<datagrid> 标签是 HTML5 中的新标签。

提示和注释

提示:如果把 multiple 属性设置为 true,则可以在列表中选取一个以上的项目。

属性

属性 描述
disabled true | false 如果为 true,则禁用整个 datagrid。
multiple true | false 如果为 true,则可以在 datagrid 中选择一个以上的项目。

标准属性

class, contenteditable, contextmenu, dir, draggable, id, irrelevant, 
lang, ref, registrationmark, tabindex, template, title

如需完整的描述,请访 HTML5 中标准属性

事件属性

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, 
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, 
ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, 
onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, 
onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

如需完整的描述,请访 HTML5 中事件属性

Copyright © 2012-2015 BETWAY官网网 版权所有