using actionscript with a cfgrid

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default using actionscript with a cfgrid

    I am looking for a way to bind a cfinput type="button" to a cfgrid then use
    action script to open a new window and query the db for the information based
    upon the bounded id. I know that sounds funny so let me break it down. I
    have a grid full of info about my dvd collection which I like to let other
    people borrow them. I have the id, name of dvd, and the person that has
    borrowed it. Its hard to keep up with friends that like to borrow so yes i'm a
    nerd and am building a system to keep up. Now back to my problem, i have
    created a form that binds all the info in a given row to the text fields.
    Instead of having all the info in text fields I would like a new page to show
    the complete details. My solution would be to bind to a button and when you
    click the button it goes to the new page and then querys the db with the
    correct id and display the info. Does anyone have any ideas?

    Thanks for looking,
    Nick

    none9898 Guest

  2. Similar Questions and Discussions

    1. cfgrid
      I use a ldap to populate my cfgrid. Therefore, I do not use any cfcolumns within the cfgrid. How would I adjust the widths of the columns to fit...
    2. Actionscript Function to Reload CFGrid
      I'm looking for some guidance on how to use actionscript to reload a cfgrid on an onclick event. I am currently using getURL() to call a cfc to...
    3. CFGRID/CFSELECT/ActionScript problem
      I have CFGRID "onchange" code below that allows me to click on a CFGRID row and correctly display (in a separate CFFORMGROUP) the correct column...
    4. <CFGRID>
      I'm experiencing a strange behavior using cfgrid format="applet". If the selectmode="Edit" and I do specify a selectcolor, the field clicked on will...
    5. Help with CFGrid
      How can I get a hyperlinked file deleted from the server when the delete action occurs in the Grid, which the action is also followed through to the...
  3. #2

    Default Re: using actionscript with a cfgrid

    I don't know why I even post here. No one ever replys to anything I put up
    here. Its lack of support for anything other simple questions answered that
    can be found in Ben Forta's books, which I own many of and is a good start.
    Does anyone know of a site that can really help with solutions to complex
    concepts such as actionscript in a flash forms (sarcasim). Is there a support
    forum with real MM CFMX7 professionals to answer questions? Who wants to
    start coldfusionrecipies.com? A site for solutions/tutorials to concepts and
    complex questions. Better support for coldfusion as the web has for php means
    more sales for MM and more people are building and developing the worlds best
    web applications for the worlds best application server.

    none9898 Guest

  4. #3

    Default Re: using actionscript with a cfgrid

    something like this? ---nimer P.S. next time post in the Rich Form forumn.
    ------------------------------------ <cfform format='flash'> <cfgrid
    name='grid' selectmode='edit' insert='Yes' delete='Yes' label='edit row'>
    <cfgridcolumn name='id'> <cfgridcolumn name='city'> <cfgridcolumn
    name='state' select='No'> <cfgridrow data='1,Rockville,MD'>
    <cfgridrow data='2,Washington,DC'> <cfgridrow data='3,Arlington,VA'>
    </cfgrid> <cfinput type='button' name='btn1' value='submit'
    onClick='getUrl('mycollection.cfm?id=' +grid.selectedItem.id, '_blank')'>
    </cfform>

    nimer Guest

  5. #4

    Default Re: using actionscript with a cfgrid

    nimer, your the man... thanks for the actionscript and your absolute
    dedication. Also for setting me in the right direction on where to post
    flash forms questions, I had no idea.

    Thanks,
    Nick

    none9898 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139