# Viewed range of rows in TableListBox

**URL:** <https://forum.juce.com/t/viewed-range-of-rows-in-tablelistbox/6408>\
**Category:** General JUCE discussion\
**Created:** [February 11, 2011, 10:11am UTC](https://forum.juce.com/t/viewed-range-of-rows-in-tablelistbox/6408 "2011-02-11T10:11:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zamrate](https://avatars.discourse-cdn.com/v4/letter/z/f4b2a3/32.png) [@zamrate](https://forum.juce.com/u/zamrate)\
**Post date:** [February 11, 2011, 10:11am UTC](https://forum.juce.com/t/viewed-range-of-rows-in-tablelistbox/6408/1 "2011-02-11T10:11:28Z")

</div>

Is there a way to find out which rows are currently shown to the user in a TableListBox? For my purpose the result does not need to be very accurate, if it’s in the range of +3/-3 rows, it’s ok.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 11, 2011, 10:20am UTC](https://forum.juce.com/t/viewed-range-of-rows-in-tablelistbox/6408/2 "2011-02-11T10:20:17Z")

</div>

getRowContainingPosition (0, 0) will tell you which row is first on screen.

---

<div class="post-metadata">

**Author:** ![zamrate](https://avatars.discourse-cdn.com/v4/letter/z/f4b2a3/32.png) [@zamrate](https://forum.juce.com/u/zamrate)\
**Post date:** [February 11, 2011, 2:35pm UTC](https://forum.juce.com/t/viewed-range-of-rows-in-tablelistbox/6408/3 "2011-02-11T14:35:06Z")

</div>

Excellent, thanks!
