ChoisSTANDARD UI컴포넌트 검색 /

Data

Data Grid

semantic HTML

정렬, 필터, 페이징, 선택을 지원하는 데이터 표입니다.

stablefreeSince 0.3

Live example

Team members
AdaOwnerActive
GraceEditorInvited
LinusReviewerActive
3 rows
<section data-standard-component="data-grid"><label>Search <input type="search" data-grid-search placeholder="Filter rows"></label><div data-ui="scroll"><table><caption>Team members</caption><thead><tr><th><button type="button" data-sort-column="0">Name</button></th><th><button type="button" data-sort-column="1">Role</button></th><th><button type="button" data-sort-column="2">Status</button></th></tr></thead><tbody><tr><td>Ada</td><td>Owner</td><td>Active</td></tr><tr><td>Grace</td><td>Editor</td><td>Invited</td></tr><tr><td>Linus</td><td>Reviewer</td><td>Active</td></tr></tbody></table></div><output data-example-output aria-live="polite">3 rows</output></section>

Variants and sizes

The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.

compactcomfortableroomy

Public API

ContractValue
Implementationsemantic HTML
Statusstable
Licensefree
Since0.3
HTML contractNative HTML elements and attributes
EventsNative browser events

Accessibility

표의 이름, 정렬 상태, 행 수, loading 상태와 선택 행을 ARIA 및 x-selection-change로 제공합니다.

Server template guidance

<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->