import * as React from 'react';
import { IColumnDefs, TVoSimpleGrid } from 'tvo-react-simple-grid';
import 'tvo-react-simple-grid/dist/index.css';
export default class TVoGridView extends React.Component<
ITVoGridViewProps,
ITVoGridViewState
> {
public render() {
return (
<div>
<TVoSimpleGrid
dataSource={this.state.dataSource}
columnDefs={this.state.columns}
onScrollToBottom={this._onScroll}
onRowItemRender={this._onRowItemRender}
onHeaderItemRender={this._onHeaderItemRender}
onContextMenuClick={this._onContextMenuClick}
onContextMenuRender={this._onContextMenuRender}
onRowItemClick={this._onRowItemClick}
disableGridScroll={false}
/>
</div>
);
}
}