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 6766305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:48:50+00:00 2026-05-26T14:48:50+00:00

I am interested in a PropertyGrid Editor for Flex. Basically, it would be something

  • 0

I am interested in a PropertyGrid Editor for Flex. Basically, it would be something like this: http://www.cnblogs.com/janyou/archive/2009/07/28/1532919.html but that I can get the source of!

If no component like that exists, I’d need assistance on creating one.

Basically what I need is:

  • Grabbing a list of properties from a specified object (which can be changed in runtime) – but just the properties I mark
  • This list of properties would be shown in a List or a DataGrid control in Flex
  • You can edit those properties with the correspondant control (textinput for string, numericstepper for Number, checkbox for boolean, colorchoose for color [specified which ones are color], etc.)

Thanks!

  • 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-05-26T14:48:51+00:00Added an answer on May 26, 2026 at 2:48 pm

    The easiest way to go about this would be to use a for..in loop and loop through all of the properties of an object. Then use ObjectUtil.hasMetadata() on each property and loop through all possible metadata tags to organize them into predetermined categories.

    eg.

    var gridData:ArrayCollection=new ArrayCollection();
    for(var prop:String in obj)
    {
        var gridItem:Object = new Object();
        gridItem.property = prop;
        gridItem.value = obj[prop];
        for each(var tag:String in metaDataTags)
        {
            if(ObjectUtil.hasMetadata(obj,prop,tag)
            {
                gridItem.category = tag;
                break;
            }
        }
        gridData.addItem(gridItem);
    }
    

    If you need to get fancy with all the enums and custom categories like the example in your question, you will have to use flash.utils.describeType. This function returns an XML with all property and metadata information. Just parse this XML and you will be good to go.

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

Sidebar

Related Questions

I would be interested in something like a multi index container in shared memory.
I've been interested in this demo: http://jakearchibald.com/scratch/alphavid/ I also saw this question on here:
Not interested in any source control OR shell integration. This is basically to make
im interested to implement something but im not sure if it would be possible
Interested in: 1) Is it possible to do this in a unix like OS?
I am interested in developing a particle engine which I can call something like
Interested in something similar to JavaScript setTimeout in C on both UNIX and Windows.
Although I'm specifically interested in web application information, I would also be somewhat curious
Im interested in communicating from a ruby on rails app with a flex app.
Most interested in peer-to-peer solutions - without central server. So, I imagine it like

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.