New to KendoReact? Start a free 30-day trial
Spreadsheet
SpreadsheetPremium
Represents the KendoReact Spreadsheet component.
Accepts properties of type SpreadsheetProps. Obtaining the ref will give you an object of type SpreadsheetHandle.
jsx
const sheets = [
{
name: 'Food Order',
rows: [
{
cells: [
{
value: 216321,
textAlign: 'center',
},
],
},
],
columns: [
{
width: 100,
},
],
},
];
const App = () => {
return (
<Spreadsheet
style={{
width: "100%",
height: 680,
}}
defaultProps={{
sheets,
}}
/>
);
};
ReactDOM.render(<App />, document.querySelector("my-app"));
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the Spreadsheet component. |