Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8329503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:48:39+00:00 2026-06-09T01:48:39+00:00

So, when the user clicks on the SectionList, it’s easy to get the ICellRenderer

  • 0

So, when the user clicks on the SectionList, it’s easy to get the ICellRenderer selected and change it’s state to selected:

this.messagesList.addEventListener(ListEvent.ITEM_CLICKED, messageSelected);    

//Skip some lines...

private function messageSelected(event:ListEvent):void {
    event.cell.state = SkinStates.SELECTED;
}

In my application, I’m saving the child index and the section index of the currently selected item in the list. The problem is that I have no way of accesing the ICellRenderer at that location. Using

this.messagesList.selectedItem = selectedMessage;

doesn’t work, either.

Any suggestions? Ideally I would like a function something like

this.messagesList.getCellRendererAt(section:int, child:int)

but I can’t find any such methods in the API.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:48:41+00:00Added an answer on June 9, 2026 at 1:48 am

    Well, I’m a dummy.

    this.messagesList.selectedItem = foo;
    

    works just fine. Turns out I was doing some other stupid stuff in my code that later cleared the selected item.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever the user clicks a button I want to get the selected row in
When the user clicks on a button, a new ListFragment is displayed. This fragment
A user clicks on a row of a table, and I want to get
When a user clicks on Delete this post a modal pops up asking if
When the user clicks on this element, I want it to show an alert.
The user clicks a button to upvote an Item. This should update @item.upvotes. Where
When a user clicks a link, he's sent to a register form. In this
User clicks some link which execute some ajax request - lets say this request
When a user clicks UIButton1(rewind button) requirement is to change the UIImage of other
When user clicks the link this method takes the user id and other data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.