# Select Cells in JTable

**URL:** <https://forum.inductiveautomation.com/t/select-cells-in-jtable/17376>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [March 15, 2018, 3:50pm UTC](https://forum.inductiveautomation.com/t/select-cells-in-jtable/17376 "2018-03-15T15:50:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaynes](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmaynes/32/6852_2.png) [@cmaynes](https://forum.inductiveautomation.com/u/cmaynes)\
**Post date:** [March 15, 2018, 3:50pm UTC](https://forum.inductiveautomation.com/t/select-cells-in-jtable/17376/1 "2018-03-15T15:50:24Z")

</div>

Select cells in a JTable using Robot, taking into account that we may need to scroll to make some cells visible.

I have already seen the following solution, but this does not solve the scrolling problem.

> [@Set Selected Cells in Power Table](http://forum.inductiveautomation.com/t/set-selected-cells-in-power-table/15955/6):
>
> I just found a bug with this solution… If the cell is not visible, then we need to scroll the cell into view. I have tried doing this, but robot uses coordinates relative to the window and not the table component. How can we scroll to the cell and select it?
