# \[F8/AS2\] Highlighting/Selecting Column in DataGrid

**URL:** <https://forum.kirupa.com/t/f8-as2-highlighting-selecting-column-in-datagrid/214995>\
**Category:** open source\
**Created:** [February 2, 2007, 7:17pm UTC](https://forum.kirupa.com/t/f8-as2-highlighting-selecting-column-in-datagrid/214995 "2007-02-02T19:17:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [February 2, 2007, 7:17pm UTC](https://forum.kirupa.com/t/f8-as2-highlighting-selecting-column-in-datagrid/214995/1 "2007-02-02T19:17:25Z")

</div>

Hey everyone,  
Here is a quick example I threw that shows how to highlight a column in the datagrid when you select a header. You can download the source here: [**http://www.kirupa.com/developer/flash8/code/VerticalColumn.zip**](http://www.kirupa.com/developer/flash8/code/VerticalColumn.zip)

Here is a screenshot of how this looks:  
 ![](http://forum.kirupa.com/uploads/kirupa/3289/dbfaaf7af36a6f94.png)  
I will write some more information about this later in a blog post, but I hope to find some time to write a tutorial outlining how to use the CellRenderer 🙂

Cheers!  
Kirupa 😛
