HI I am using Material Table of React, what I want to do is generate a label tag for every cell, what I did is:

```
            <Table
                onChangePage={handleChangePage}
                page={props.currentPage}
                totalCount={props.totalCount}
                options={{
                    paging:true,
                    pageSizeOptions:[10, 15, 25, 50],
                    pageSize: props.rowsPerPage,
                    padding: "dense",
                    search: false,
                    toolbar:false

                }}
                columns={columns.map((tableColumn) =>{
                    return{
                        ...tableColumn,
                        render: (rowData:VulnerabilityData) =>
                            (<label>
                                    {rowData[tableColumn.field]}. <---- error 'undefined'
                            </label>)
                    }
                })}
                data={vulnerabilityDataAct}

            />

```

In order to get the specific field, I passed in the `tableColumn.field` in the render,
but I got the error
**TS2538: Type 'undefined' cannot be used as an index type.**

I think tableColumn.field is not allowed here, **so how do I dynamically pass the tableColumn field and used as an index to render the value**???

Edit:
columns variables in above code:

```
const columns: TableColumn<VulnerabilityData>[] = [
    {
        title: 'Due Date',
        field: 'remediation_due_date',
    },
    {
        title: 'Application',
        field: 'primaryApplication'
    },
    {
        title: 'Impact',
        field: 'consequence'
    },
    {
        title: 'Mitigation',
        field: 'solution'
    },
    {
        title: 'CVE Description',
        field: 'cve_urls'
    },
    {
        title: 'Vulnerability Fix',
        field: 'vendor_urls'
    }
// and other 100 columns
];

```

and the definition of `VulnerabilityData`

```
export interface VulnerabilityData {

    primaryApplication: string;
    networkEnvironment: string;
    remediation_due_date: string,
  // ... other fields

}

```