Improve company productivity with a Business Account.Sign Up

x
?
Solved

Flex select the column of a DataGrid control

Posted on 2008-10-12
1
Medium Priority
?
1,817 Views
Last Modified: 2012-05-05
Hi Genusies,

I am newbie to flex, i have one requirenment in flex . that we need to select the single column  when we click on the header of that column . please help

Regards,
Dojjol
0
Comment
Question by:dojjol
1 Comment
 
LVL 7

Accepted Solution

by:
evcr earned 1500 total points
ID: 22931310

on headerRelease in your grid:

private function recordColumn(e:DataGridEvent):void {
    clickedColumn = e.columnIndex;
}

// what do you want to do with it after that?
0

Featured Post

Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
This following write-up describes a different way to copy Lotus Notes Calendar to Outlook. Along with this, we will also learn the reason behind this NSF to PST migration. Users can prefer different procedures as per their convenience.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question