# table. getCellString
Get the value (string) of the cell.

## Permission Requirements
**Notice**：Enable any of the following permissions
View, comment, edit and manage multidimensional tables(bitable:app)
View, comment and export multidimensional tables(bitable:app:readonly)

## input
```
getCellString(fieldId, recordId)
```

name | Data Type | Required | Description
---|---|---|---
fieldId | string | is | cell field id
recordId | string | is | The record id of the cell

## output
Promise string.
## sample code

```js
const selection = await bitable. base. getSelection();
const table = await bitable.base.getTableById(selection.tableId);
const recordIds = await table.getRecordIdList(); // Randomly get all row ids in the data table
const fields = await table.getFieldList();// Get the data table field list

const res = await table.getCellString(fields[0].id,recordIds[0]);
console. log(res)

```