# was the record selected?

**URL:** <https://forum.servoy.com/t/was-the-record-selected/10785>\
**Category:** Classic Servoy\
**Created:** [June 15, 2009, 11:33pm UTC](https://forum.servoy.com/t/was-the-record-selected/10785 "2009-06-15T23:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maria](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@maria](https://forum.servoy.com/u/maria)\
**Post date:** [June 15, 2009, 11:33pm UTC](https://forum.servoy.com/t/was-the-record-selected/10785/1 "2009-06-15T23:33:50Z")

</div>

We had a discussion in one of the topics about how good it would be to have ability to determine if the record has been selected before it was clicked on (in table view). When simulating multiple record selection (which in turn would be a nice new feature of Servoy) we need to change the color of the records as if they are selected or deselected. The rowBGColorCalculation is used for that. However if the method to process ‘selected’ records is triggered by onRecordSelection event then it is not called when we first select a record and want to deselect it at the next step. Putting the processing in onAction event of the record fields does the job but lacks elegance and adds complexity to code maintenance.  
Do you think we could have the feature in the following releases?

Thanks,  
Maria

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [August 12, 2009, 9:25am UTC](https://forum.servoy.com/t/was-the-record-selected/10785/2 "2009-08-12T09:25:34Z")

</div>

the next release (tano) has multi select support build in.

---

<div class="post-metadata">

**Author:** ![maria](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@maria](https://forum.servoy.com/u/maria)\
**Post date:** [August 13, 2009, 3:51am UTC](https://forum.servoy.com/t/was-the-record-selected/10785/3 "2009-08-13T03:51:45Z")

</div>

> jcompagner:  
> the next release (tano) has multi select support build in.

Thanks Johan
