HTML 5 <datagrid> 標(biāo)簽
定義和用法
<datagrid> 標(biāo)簽定義可選數(shù)據(jù)的列表。datagrid 作為樹列表來顯示。
HTML 4.01 與 HTML 5 之間的差異
<datagrid> 標(biāo)簽是 HTML 5 中的新標(biāo)簽。
提示和注釋
提示:如果把 multiple 屬性設(shè)置為 true,則可以在列表中選取一個以上的項目。
屬性
屬性 | 值 | 描述 |
---|---|---|
disabled | true | false | 如果為 true,則禁用整個 datagrid。 |
multiple | true | false | 如果為 true,則可以在 datagrid 中選擇一個以上的項目。 |
標(biāo)準(zhǔn)屬性
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title
如需完整的描述,請訪 HTML 5 中標(biāo)準(zhǔn)屬性。
事件屬性
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
如需完整的描述,請訪 HTML 5 中事件屬性。