Add a 2nd visible column to list

Hey all,.

I try to display two columns of data in the same list, but it seems that the list will only show something under the "wording" field  I tried to set my columns implicitly (setting the width of the list to 100, then the columnWidth to 50) and then a tag my items in the dataProvider, "col1", "col2".  But no luck.

Anyone have any ideas?

Thank you!

The List class doesn't have a sense of columns like a DataGrid component can. What you can do to get your desired result is to create a custom CellRenderer class and use it in your list. This will give you the possibility of your columns based on specific data layout.

Here's what might look like your custom CellRenderer class.

package
{
    import flash.text.TextField;
    public class ColumnCellRenderer extends CellRenderer
    {

        private var column1:TextField;
        private var column2:TextField;

        public function ColumnCellRenderer()
        {
            super();
        }

        override protected function init():void
        {
            column1 = new TextField();
            column1.width = 100;
            addChild( column1 );

            column2 = new TextField();
            column2.width = 100;
            column2.x = 110;

            addChild( column2 );

            super.init();
        }

        override public function set data( data:Object ):void
        {
            super.data = data;

            column1.text = data.col1;
            column2.text = data.col2;
        }

    }
}

Then you might say your list to use the rendering engine of cell with the List.setSkin () method.

Tags: BlackBerry Developers

Similar Questions

  • No visible columns in the tools

    Hello

    I was assigned to a task to add a new field on the cmdlet list (opportunity). The problem is even when I do drag and move the field to the web page layout editor and save my changes, the field is not visible on the Client.

    In addition to the above problem, I noticed that this particular applet has around 8-10 visible columns on the client, but when I'll come and check them in to the editor into a web page (Preview) these fields are not visible. In the weblayout editor I see around 4 columns.

    This could be a problem with the web template file? Has anyone ever faced such a question?

    Help, please.

    Thanks :)

    Hello

    You use what Siebel Application. There is a drop down list of 'Request' in the tools for the weblayout.

    That allow tools: View - Toolbars - Configuration specification. Check the Application drop-down list value. What is the Siebel Application you use. Its best to add fields in the drop-down list "all applications". If you are seeing in a bad application or add in a bad application. This is the cause of the incompatibility. No problem with WebLayout. Check and let me know.

    Kind regards
    Joseph

  • How can I add a 2nd email address on iCloud Mail on Windows 10?

    I would like to replace Outlook on my new computer with iCloud Mail.  I have a 2nd email address for my wife.  How can I add this 2nd address?

    Or by using an alias or a second account. The two ways of working.

  • Open with options: I want to add a new application to the list right click on file-> open with and rearrange the list so my search app is first. I know that I can use open with-> other and select any application, but it takes too much time since I u

    I want to add a new application to the list right click on file-> open with

    and also reorder the list so my search app is first / top of the list.

    I know that I can use open with-> other and select any application, but it takes too long I should use my intended application in this way several times a day.

    Basically, I'm looking for a configurable way configure open with, something more to send to Windows.

    Thank you very much for all the advice offered.

    The operating system, not you, not control that open with the menu command.

  • How to add bookmarks to the IE Favorites list?

    How to add bookmarks to the IE Favorites list? I can find them on recently added bookmarks, but they are not listed when I click on IE Favorites.

    Firefox bookmarks are stored in your Firefox profile folder, they are not synchronized with the IE Favorites.

  • I can add a 2nd HDD on my Satellite A300 - 02c?

    Hi all

    I wonder if it is possible to add a 2nd HDD in my A300 - 02c?
    There is a HDD 2 slot, but no sata connector on the card (see the link to the image).

    http://www.NotebookReview.com/picture.asp?f=36752

    I wonder if it is possible to add the connector (by myself or by the customer service).
    If anyone knows if it is possible and where can I buy the sata connector... Please leave a comment :)

    Adrien.

    I think that there is nothing you can do about it.
    Satellite A300 comes with several different hardware configurations and several different mothers. Really, I don't think that you can add it in addition.

    FYI exact nearest maintainer contact authorized Toshiba and ask for help.

    If anyone has any experience with this stuff then the Toshiba service technicians.

  • How to add a 2nd hard drive for HP Pavilion DV7!

    How to add a 2nd hard drive for HP Pavilion DV7-3165DX, product # WA794UA or WA794UAR.

    (1) classification of the HDD, hard drive, hardware kit. Disc kit HARD material includes mounting rails, static shield, screws, insulators in rubber and SATA cable from the motherboard. Check your model & product # to ensure compatibility.

    Material of parts HP HDD Kit 517639-001 for DV7-3165DX product # WA794UA and WA794UAR.

    (2) training of consult - Windows 7 PDF, table of contents, 7 replacing a drive in secondary hard drive Bay. This will show you how to install a 2nd HARD drive in an HP DV7.

    Readers - Windows 7 PDF

    (3) to select a Windows 7 computer, select the installed HDD, Format (if not already formatted).

    (4) if the drive HARD does not appear in Windows 7 under computer, go to the Start Menu, find programs and files, enter "Computer management", select storage, disk (Local) management, look for the 2 HARD drive Bay (should appear as disk 1, Bay 1 HARD drive should show as disk 0), Format of the 2nd HARD drive (the one that you just installed).

    Update: I have the 2nd HDD (WD 1 TB) installed, Windows recognize now after completing the steps I mentioned in step 4, Format with default allocation NTFS 931,51 GB free, 118 MB USED to put in shape. Format exFAT to allocation by default 931,51 GB free, 1 MB used to put in shape. I chose NTFS format to reduce the fragmentation of the file.

    My solution.

  • Can I add a 2nd credit card to my account for the payment?

    Can I add a 2nd credit card details to my account to use for the payment?

    No, you can use a credit at a time card.

    By the end of 2012 mini Mac, OS X El Capitan 10.11.2; Apple Watch, 38 mm silver AL, Watch OS 2.1; iPad 2 & iPhone 6 + iOS 9.2 air

  • HP pavilion G4-2201tu: Add a 2nd HARD drive using CD/DVD optical drive Bay

    Hi ch, I, m going to add a 2nd HARD drive of my laptop bu using Bay, CD/DVD optical drive, so I don't know if the connection of optical drive supports SATA 2 or SATA3? And where I can buy a Bay for disk HARD 2 (good quality)? TKS a lot!

    There is that some members have used and reported success with third party products. I can't recommend any particular HARD drive caddy product as I have no personal experience using one. I can provide you with a URL so you can decide for yourself. I will update with more sources as I find them.

    http://hddcaddy.com/en/12-HP-HDD-Caddy

    http://www.newmodeus.com/shop/?Main_Page=index&cPath=2_27

    Your laptop uses a SATA interface for the HARD disk and the optical drive.

  • Add the 2nd DVD drive to the hp Pavilion 500-214

    I just ordered a HP Pavilion 500-214. I want to know if I can add a 2nd DVD disc. And if so, how. Thank you!

    Thank you. I have a bluray burner in my old tower that I intended to put in this new but I also have a disc of light scribe, I was hoping to add a second Bay. Thanks for the info

  • You attempt to add a 2nd hard drive

    I have a HP Pavilion Elite HPE 510 t. I try to add a 2nd hard drive. The 2nd hard drive is a Toshiba 1 TB 7200 RPM 6G.

    Accordingly, the 1st HDD was plugged on SATA2 and the CD-ROM was connected to SATA1. It worked and it started ok.

    I added the 2nd hard drive, plugged on SATA3, went into the BIOS Setup and it has not even see SATA3.

    I then plugged the CD-ROM on SATA3 and the 2nd hard disk on SATA1 and lit, is went into the BIOS config amd saw 2 hard drive and a hard disk 1, it did not see the Wired CD SATA3. Then I tried SATA4-nothing.

    I have advanced and partitioned and formatted the hard drive into two partitions 2 and recovered the data from a backup on each partition.

    It works very well, with both devices, but nothing I have connect SATA3 or SATA4 is recognized by the BIOS.

    Can someone tell me why? is there a jumper on the system board or a setting in the BIOS that turns on SATA3 and SATA4?

    Are my bad SATA3, SATA4?

    I've seen the specifications for hard disks. He is said to use a 1 to 3G 7200 RPM. IS the fact that I use a 1 to 7200 RPM 6 G the cause? Even with the hard drive 2 disconnected and hard drive 1 SATA1 or 2 and SATA3 or 4 CD, it does not yet recognize the CD-ROM drive.

    I tried to pass autour SATA data cables, but it has not changed. Anyone know why the system will not recognized the connected CD-ROM SATA3 or SATA4?

    Or whatever it is well plugged SATA3 or 4? I can run both hard drives, but then I don't have a CD-ROM drive, or I can run a hard drive and a CD-ROM drive, but not 2nd hard drive.

    Any suggestions? I know choose IDE used to have to set a date for the cable, but I don't think that SATA requires that.

    Am I wrong?

    I bought a $70 ServerSupply.com motherboard, succeeded him and it solved the problem.

    Someone here even suggested, but me. I forgot what email I signed up for this site.

    Now officially logged as me.

  • 17 ZBook add a 2nd SSD

    Hello

    I just bought a ZBook 17.

    Details of the model:

    ZBook 17 Mobile Workstation - i7-4800MQ - 256 GB SSD

    Part number F6E62AW

    CPU Intel Core i7-4800MQ (2.70 GHz - Turbo Boost 3.70 GHz, 6 MB of Cache, 4th Gen Haswell)

    RAM 8192 MB (2x4096MB) DDR3L 1600 MHz, up to 32GΒ maximum memory (4 x slots)

    256 GB SSD HARD DRIVE

    VGA nVidia Quadro K3100M 4 GB dedicated

    I would like to ask if I can add a 2nd SSD (Samsung 840 EVO series 500GB 2.5 "SSD). Is it compatible? or there is a more appropriate solution.

    If I do, I cancel the warranty.

    Concerning

    Hello

    The book says that you can replace yourself (automatic client repair parts) number of page elements #46:

    http://h20628.www2.HP.com/km-ext/kmcsdirect/emr_na-c03916100-1.PDF

    My suggestion: use the same brand (may be the largest capacity) with the SSD primary to make sure it is compatible.

    Kind regards.

  • Windows XP Add Remove Programs opens, but the list of programs will not appear?

    Windows XP Add Remove Programs opens, but the list of programs will not appear? Can check the programs add and romove, but when the next screen appears to list all installed programs nothing happens, it just says: waiting will list is bieng prepared, expected 15 minutes still nothing, never had this problem before. Thank you

    Alas...

    As the forums MS Answers does not prompt for any information system when a new question is asked, we know absolutely nothing about your system.

    Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Click Start, run and enter the following command:

    regsvr32 appwiz.cpl

    Click OK and you should see a message like this:

    DllRegisterServer in successful appwiz.cpl

    Restart and see how things look now.

  • My software add/remove in the control panel list not on the software.

    When I tried to remove some of the unwanted software, the Add/Remove dialog box does not list me software in my system. I even tried to delete directly from the C drive, but he showed the copy-protected when I tried to remove it. I am not even able to update the anti-virus because of this. What is the problem?

    Hi Chandrika,

    You can run the tool Fixit in the following article.

    Incorrectly, Add/Remove Programs tool displays installed programs

  • Try to add the 2nd COR/DVR Player

    Need help. I have a new Tower of Pavilion A6600Z. Comes with 1 CD player DVR and I want to add a 2nd unit. Only two cables power and date SATA is already connected to the motherboard, one for the hard drive and the other for the optical drive DVR. Here's the Red tablecloth with black connectors cables. I need an another data connector!  A data connector can be grafted onto a second connector? I found where I can get a PSU out of Amazon. I already bought the second player (SATA) of HP DVR and just need to know how to connect as indicated, only two sockets on the motherboard SATA. The inside of the computer is full of type PATA connectors, unusable or you can get a SATA-PATA adapter?. Motherboard is an Asus M2N68-(Ivy8).  Any advise?

    Message edited by raco43 on 05/10/2009 12:35
    Message edited by raco43 on 05/10/2009 12:53
    Message edited by raco43 on 05/10/2009 13:10
    Message edited by raco43 on 05/10/2009 13:12
    Message edited by raco43 on 05/10/2009 13:30
    Message edited by raco43 on 05/10/2009 13:53

    @raco43: I would have gone with the types of PCI-e x 1 myself, but I think you know what you're doing.

    The SATA drives are soft. So easy to install and these cables of small footprint. FOR INFO. Use caution when you plug the connectors. It is easy to inadvertently break the location on the disc guides trying to connect the cables backwards.  The only time where I ran into disputes with the SATA, cards and drivers associated has been with Windows Vista.

    Published by erico on 2009-05-11 11:45

Maybe you are looking for