New to KendoReact? Learn about KendoReact Free.
Grid
Represents the KendoReact Grid component.
jsx
const App = () => {
const [data, setData] = useState([
{ foo: 'A1', bar: 'B1' },
{ foo: 'A2', bar: 'B2' },
{ foo: 'A3', bar: 'B2' }
]);
return (
<Grid data={data} reorderable={true}>
<GridColumn field="foo" />
<GridColumn field="bar" />
</Grid>
);
};
export default App;
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the Grid component. |