Hello,
Trying to figure out how I can put clickable links in the Grid component, can't get it to work.
Any ideas?
Thanks.
class Classname extends React.Component {
constructor() {
super(...arguments);
};
this.data = [
{
urlColumn: http://www.example.com,
otherData: 'someData'
}
];
}
grid = () => {
return (
<div style={{ "height": "100%", "width": "100%" }}>
<GridComponent dataSource={this.data}>
<ColumnsDirective>
<ColumnDirective field='urlColumn' headerText='URLs' width='110'/>
<ColumnDirective field='otherData' headerText='Field 2' width='110'/>
</ColumnsDirective>
</GridComponent>
</div>
);
}