How do with change table cells from staticText1 to button1 in run time?

I have two question:
first: I think change table's cells from staticText to button in run time?
how do?
second: I think change table column's order in run time?how do?
ex:
=============change before===========
name age
wtu 22
=============chnage after=============
age name
22 wtu
thanks

Try something like this:
1. Drop a Table. By default it has three columns.
2. Drop a button inside the third column. Set its id property to buttonInColumn3, and set its rendered property to false.
3. Drop another button, this time outside the table. Set its id property to buttonOutsideTable.
4. Double-click the buttonOutsideTable and make the method look as follows:
public String buttonOutsideTable_action() {
//switch the first two columns
List cols = tableRowGroup1.getChildren();
Object col = cols.remove(0);
cols.add(1, col);
//toggle between showing staticText3 and buttonInColumn3 (in the third column)
staticText3.setRendered(!staticText3.isRendered());
buttonInColumn3.setRendered(!buttonInColumn3.isRendered());
return null;
5. Run the application and click the button outside the table several times.

Similar Messages

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

  • Change the database log on parameters in the run time with CR10 Delphi2007?

    Hi,
    I'm using crystal report 10 and Crystal VCL for Delphi. How can I change the database log on parameters in the run time?

    You have to use the ConnectBuffer. See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note for details.
    Also, consider searching the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    The search; VCL database crystal, returns a number of notes that may be of use.
    Ludek

  • How can I copy and paste table cells from Pages into InDesign with minimum reformating?

    How can I copy and paste table cells from Pages into InDesign with minimum reformating?

    Do you mean you want to retain the formatting from Pages, or retain formatting already applied in ID?

  • How do i delete my cell # from my daughters ipod touch?  I have changed the #'s in my apple id but it is still using the other cell # in their ipod touch for imessage which allows them to send recieve and read texts to that #.

    how do i delete my cell # from my daughters ipod touch?  I have changed the #'s in my apple id but it is still using the other cell # in their ipod touch for imessage which allows them to send recieve and read texts to that #.

    You can only uncheck the cell phone number. The only way to delete it is to use for FaceTime and Messages an Apple ID not associated with the iPhone.

  • My slide presentation (with sound) is done. How can I change one song from another?

    My slide presentation (with songs) is done. How can I change one song from another?

    Do you still have your Aperture Slideshow project? Then open the slideshow and select the one of the green audio file clips in the film strip that you want to replace. Press the "delete" key and drag another audio file from the Media Browser directly onto the slide, where the sound should start.

  • How do I change a cell phone number on my iPad. I have a new cell phone number and want to use the iCloud

    How do I change my cell phone number on my iCloud account with my iPad? I have a new number and want to activate the iCloud

    If you're talking about the phone number on your iPad for iMessage, the number is associated with the ID when you turn on iMessage on your iPhone.  If the number is incorrect, try turning off iMessage on your phone, wait a minute or so, then turn it back on.

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • In AppStore.nl, how can I change the language from Dutch to English ?

    In AppStore.nl, how can I change the language from Dutch to English ?

    Hi ...
    Click the round flag icon bottom right corner of the App Store window to change the country.
    FYI ..
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for the iTunes and well as the Mac App Store.

  • How do I change a URL from a tab?

    How do I change a URL from a tab?

    I'll tell you my situation.
    I have a page, with 4 tabs. At the beggining the page didn't have tabs and it had content like pictures and ome text. When I added a tabs, that same content is displayed in each one. So, if I erase the image of tab 'C', for example, that image erases for all the tabs too.... If I add content to tab 'C', another example, and I only wanted to displayed that info on that tab, it's displayed in all the tabs too... What's wrong?

  • How do I change default tab from .5 to .25 in word 2008 for mac?

    Mountain Lion
    How do I change default tab from .5 to .25 in word 2008 for mac?
    Thanks
    Message was edited by: Rafael Montserrat1
    Thanks, Rafael

    They haven't been checked as Solved, it's an option for you to choose one if the answer has solved your problem. You can mark one answer as Solved, and two as helpful. Only you, as the originator of the topic, can see these buttons.
    Sorry for the goofed answer. Most people are looking to set the margins and I looked over that you were interested in the tabs.
    To save tabs in fixed positions that will appear with every new document, you must modify the default template. You can't open the template from the desktop. If you do, it will open as a standard document. You must open it from the Open dialogue box from within Word. With Word in the foreground, press Command+O and navigate to:
    /Users/your_account/Library/Application Support/Microsoft/Office/User Templates/
    Open the file Normal.dotm
    Set your tabs and save the file. Close the template. All new documents will now open with those preset tabs.

  • How I could transport table entries from table NRIV

    Does anyone knows how I could transport table entries from table NRIV.
    I can mark them in se16 but the "table entries"->"transport" is grey. What shouuld be done.
    Is there another way to transport NRIV entries.
    Thank you in advance

    Hi,
    Goto SE01 -> Create Transport Request.
    Assign the Workbench request/Project.
    Single click the TR. Click on the DISPLAY OBJECT LIST or Press SHIFT + F11.
    Click on CHANGE -> Insert.
    PgmID Obj Object name
    R3TR TABU NRIV
    CLick Extras -> Change Object Function -> All entries.
    Save.
    Release the Tr.
    Best regards,
    Prashant

  • How can i change my membership from private to business because of the taxes?

    How can i change my membership from private to business because of the taxes?
    When i entered Adobe CC i used it privat, now as a freelancer. but i pay the sales tax. So i need to change my account from private tu business.
    Where can i do that?
    Best regards,
    Dan

    Hi Pearl34,
    Welcome to the Adobe Forums.
    Please, allow me to get in touch with you by email regarding your query.
    Thank you.
    Arnaud.

  • TS3999 How do you Change the sent from email for iCal invitations on my iPad. It uses the iCloud email but I want it to use my work email.

    How do you Change the sent from email for iCal invitations on my iPad. It uses the iCloud email but I want it to use my work email.
    It keeps sending from my bosses ICloud account, we are all synced at work but I want all my invitations to come from me, not my bosses iCloud account!
    Need to know how to do it on the iPad!!

    Hi garretktowne,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/HT5621
    Cheers,
    - Judy

  • How do I change my Ipod from mac to windows format??

    How do I change my Ipod from mac to windows format?? My Imac is not working at the moment, but I want to use my Ipod on my PC. How do I get my Ipod(mac formated) to get work on my PC??

    Use iTunes on the PC to restore the iPod, or install XPlay on the PC without changing the format. Restoring the iPod will erase everything on it.
    (25085)

Maybe you are looking for

  • File Reading in Web Project, file path help.

    Hi, I have a web project with the folloing directory structure. Thesis > build > dist > nbproject > src > test > web Using netbeans and GlassFish V2 webserver I'm trying to call a function in a Java file (src folder) from a JSP file (web folder). In

  • Installed iTunes 10 - will not recognise iPhone 4

    I upgraded to itunes 10 and now when i connect my iPhone 4 it will not recognise it (no icon showing on left hand side). What can I do?!!

  • Media Go failed to install,,,reports VisualC++2005 Redistributable Error 1935

    Hullo, I have just done a fresh install of Windows 7 Professional 64-Bit and the MediaGo application will not install Version 2.7.0.357 on my machine. (it was on the machine and operational before?) Have done some research and found nothing that is c

  • [CS3][JS] Apply XML tag for selected text

    Hi   I need to apply XML tag to selected text in a tagged content.The XML tag is already applied for paragraph.I need to apply XML Tag for selected text in a paragraph. I have used following code, it applies tag for entire paragraph,not a selected te

  • All apps have vanished after update

    After ISO7 download all apps removed now they will not sync using iTunes. Have tried a restore and backup the apps are visible in the iPad dash board on iTunes but not on the iPad itself . Anybody any ideas