27
loading...
This website collects cookies to deliver better user experience
table
element.<table>
<tr><th>make</th><th>color</th><th>price</th></tr>
<tr><td>Mercedes</td><td>Black</td><td>$25,300</td></tr>
<tr><td>Mazda</td><td>Green</td><td>$29,200</td></tr>
</table>
make | color | price |
---|---|---|
Mercedes | Black | $25,300 |
Mazda | Green | $29,200 |
<table>
element as their underlying DOM representation and then enhance the table to provide the user with functionality to interact with the data.<table>
as the underlying DOM representation.<div>
elements to allow: grouping, pivoting, in-cell editing, row editing, drag and drop of columns and rows, pinning columns and rows, etc.<div className="ag-theme-alpine" style={{height: 400, width: 600}}>
<AgGridReact rowData={rowData}>
<AgGridColumn field="make"></AgGridColumn>
<AgGridColumn field="color"></AgGridColumn>
<AgGridColumn field="price"></AgGridColumn>
</AgGridReact>
</div>
<AgGridColumn
field="make"
sortable={ true }
filter={ true }
editable={ true }>
</AgGridColumn>
domLayout='print'
<AgGridReact enableRangeSelection={true}>
{/* column definitions ... */}
</AgGridReact>
<AgGridReact enableRangeSelection={true} enableCharts={true}>
{/* column definitions ... */}
</AgGridReact\>