# Segments Table Extendend Selection having issue

**URL:** <https://discourse.slicer.org/t/segments-table-extendend-selection-having-issue/25119>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [September 6, 2022, 11:24am UTC](https://discourse.slicer.org/t/segments-table-extendend-selection-having-issue/25119 "2022-09-06T11:24:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssv](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ssv/32/15085_2.png) [@ssv](https://discourse.slicer.org/u/ssv)\
**Post date:** [September 6, 2022, 11:24am UTC](https://discourse.slicer.org/t/segments-table-extendend-selection-having-issue/25119/1 "2022-09-06T11:24:28Z")

</div>

Slicer Version : 5.1.0  
OS : Windows 11

I am trying to do extended selection mode on segments table the selection works from top to bottom . But when i select bottom to top its only select one row

```auto
getModuleWidget('SegmentEditor').editor.Form.SegmentsTableView.setSelectionMode(qt.QAbstractItemView().ExtendedSelection)

```

![Screenshot 2022-09-06 114549](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/2/52fe7cf98ea4c671418c2073a02fc318e59dc066.png)
