Created an app to the database okay! But how can I play with it?

Hello!

I went through the steps and created a database Application. Everything is ok, but how do just one of the values in the mysql database to display in a {} tag? I played with it for a few months and I'm sure it's something that I just missed. (BOP)

Thank you!

Here is a picture of what I'm trying to do.

http://www.thealphacompany.NET/wth.jpg

I appreciate any assistance available!

MXML (works A-OK) code:

<mx:DataGrid id="dataGrid"
               dataProvider="{dataArr}"
               rowCount="8"
               editable="true"
               resizableColumns="true" 
               headerRelease="setOrder(event);"
               right="10" left="10" top="10" bottom="204">
                    <mx:columns>
                         <mx:DataGridColumn headerText="id" dataField="idCol" />
                         <mx:DataGridColumn headerText="event_desc" dataField="event_descCol" />
                         <mx:DataGridColumn headerText="logo_url" dataField="logo_urlCol" />
                         <mx:DataGridColumn headerText="background_img" dataField="background_imgCol" />
                         <mx:DataGridColumn headerText="txt_color" dataField="txt_colorCol" />
                         <mx:DataGridColumn headerText="txt_font" dataField="txt_fontCol" />
                         <mx:DataGridColumn headerText="txt_size" dataField="txt_sizeCol" />
                         <mx:DataGridColumn headerText="reg_email_from" dataField="reg_email_fromCol" />
                         <mx:DataGridColumn headerText="reg_email_address" dataField="reg_email_addressCol" />
                         <mx:DataGridColumn headerText="reg_email_message" dataField="reg_email_messageCol" />
                         <mx:DataGridColumn headerText="current_slidedeck" dataField="current_slidedeckCol" />
                         <mx:DataGridColumn headerText="total_slides" dataField="total_slidesCol" />






<mx:DataGridColumn headerText="url_materials" dataField="url_materialsCol" />
                    




<mx:DataGridColumn headerText="url_materials_title" dataField="url_materials_titleCol" />
                    </mx:columns>
          </mx:DataGrid>

What the hell I'm doing:

<mx:Label x="40" y="229" text="{????}" />

selectedIndex = 0 by default will only work if you have data came already, otherwise you're data has to get the selectedIndex value becomes-1.

Do one thing, set as below

dataGrid.dataProvider = dataArr; dataArr would not run in the initialization of data Grid.

dataGrid.selectedIndex = 0;

Tags: Flex

Similar Questions

Maybe you are looking for

  • 10 IOS extreme battery drain

    Hello I need your help to solve my problem of battery. The first thing you need to know, I was using the beta software to IOS 10 before. After a beta update to my iPhone (2 years old 5s without any problems before) started very quick battery drainage

  • My disk utility has no encryption option.

    I'm trying to format a USB key that I can encrypt.  But my disk utility does not have the drop down option for encryption. Can I have a utility obsolete? OS X El Capitan 10.11.5 In the Finder, when you attempt to encrypt, I get an error message sayin

  • Toshiba virtual Store account Reset - 35851

    I do the new acount but virtual don't store any let go inside of me... incorrect email/zaihon my account num: 35851

  • Tecra A9 XP SP3 - TOSHIBA Management Console TOSHealth VB Script error

    I reformatted the disk on Tecra A9 and wiped Vista and all the drivers, etc.Installed XP Home SP2 downloaded the drivers from Toshiba & installed & debugged.I have upgraded XP to SP3. Then installed programs. There is an error at startup.This origfin

  • OfficeJet Pro 8620: Care Pack registration issue

    I bought a HP Officejet Pro 8620 on 17/12/15 at a local retailer. I bought a 3 years Care Pack 20/12/15 HP online. I received the care package on 26/12/15 and went online to save it. By doing this, I got an error message: "(REG041garantie faible) the