# GetCellByRowCol

Use the GetCellByRowCol method to get the table cell for the specified row and column. Learn its syntax and parameters in documentation.

## Content

Gets the table cell for the specified row and column.

## Syntax

[JavaScript]

```javascript
var ret = FpSpread1.GetCellByRowCol(row,column);
```

## Parameters

***row***
Integer, row index of the specified cell
***column***
Integer, column index of the specified cell

## Return Type

TD element (HTML element)

## Remarks

This method gets the entire table cell (the TD element in HTML) at the specified row and column of the displayed page on the client. Both row and column indexes must be valid. Since this returns a TD element, you can set styles and edit the text. Refer to the Microsoft HTML documentation for more information about what you can do with HTML.

## Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

```javascript
<script type="text/javascript">
   function showCell() {
       var scell = FpSpread1.GetCellByRowCol(0, 0).outerHTML
       alert("Cell is" + scell);    }
</script>
```

## See Also

[GetSelectedRange](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetSelectedRange)
[GetValue](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetValue)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)