Hello!
I have a problem:
try to create ColumnMenu
import * as React from 'react';
import {GridColumnMenuSort,
GridColumnMenuFilter} from '@progress/kendo-react-grid';
class ColumnMenu extends React.Component {
render() {
return (
<div>
<GridColumnMenuSort {...this.props} />
<GridColumnMenuFilter {...this.props} expanded={true} />
</div>
);
}
}
export default ColumnMenu;
but i have compile error:
No overload matches this call.
Overload 1 of 2, '(props: Readonly<GridColumnMenuSortProps>): GridColumnMenuSort', gave the following error.
Property 'column' is missing in type '{ children: false; }' but required in type 'Readonly<GridColumnMenuSortProps>'.
Overload 2 of 2, '(props: GridColumnMenuSortProps, context?: any): GridColumnMenuSort', gave the following error.
Property 'column' is missing in type '{ children: false; }' but required in type 'Readonly<GridColumnMenuSortProps>'.
Is it able to use Kendo react Grid with TypeScript?
I have a problem:
try to create ColumnMenu
import * as React from 'react';
import {GridColumnMenuSort,
GridColumnMenuFilter} from '@progress/kendo-react-grid';
class ColumnMenu extends React.Component {
render() {
return (
<div>
<GridColumnMenuSort {...this.props} />
<GridColumnMenuFilter {...this.props} expanded={true} />
</div>
);
}
}
export default ColumnMenu;
but i have compile error:
No overload matches this call.
Overload 1 of 2, '(props: Readonly<GridColumnMenuSortProps>): GridColumnMenuSort', gave the following error.
Property 'column' is missing in type '{ children: false; }' but required in type 'Readonly<GridColumnMenuSortProps>'.
Overload 2 of 2, '(props: GridColumnMenuSortProps, context?: any): GridColumnMenuSort', gave the following error.
Property 'column' is missing in type '{ children: false; }' but required in type 'Readonly<GridColumnMenuSortProps>'.
Is it able to use Kendo react Grid with TypeScript?