CFGrid OnClick Event in Flash

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

  1. #1

    Default CFGrid OnClick Event in Flash

    Does anyone know if it's possible to simulate a Javascript onClick event in a
    CFGrid column? I have a checkbox column that needs to trigger some Javascript
    code when clicked. I know I can use the ActionScript GetURL function to
    actually run the JS but I can't figure out how to trigger it.

    WBJ Guest

  2. Similar Questions and Discussions

    1. are there any event handlers besides onClick?
      hi, i've made a command for my extension which is called by a menuitem in the File menu via dw.runCommand("myCommand.html"); this .html is...
    2. Onclick event
      I would like for certain Contribute users to be able to add on onclick event on links. How can they do this ? Thanks!
    3. onclick event not working
      Hi there I have created a button on a web page and placed text over the button. I have tried a few things to get the button working so that...
    4. cfgrid and onclick
      I have a cfgrid in select mode row. On entering the page is no row selected. So I have a form button which is deactivated by default. Now, if the...
    5. script ASP in an onClick event
      i need to insert, in a onClick event of a submit button in a form, a call to an ASP script, like follows: <INPUT TYPE="SUBMIT" NAME="btnSend"...
  3. #2

    Default Re: CFGrid OnClick Event in Flash

    Does anyone know the answer to this? I'm having trouble figuring this out too.
    GlowsintheDark Guest

  4. #3

    Default Re: CFGrid OnClick Event in Flash

    There is an onChange="" attribute you can use for CFGRID.

    to get the selected row/column, try this.
    <cfgrid name="g1"
    onChange="alert(g1.dataProvider[g1.selectedIndex]['city'])">

    hth,
    --nimer

    "WBJ" <webforumsuser@macromedia.com> wrote in message
    news:cvf8t4$nj7$1@forums.macromedia.com...
    > Does anyone know if it's possible to simulate a Javascript onClick event
    > in a
    > CFGrid column? I have a checkbox column that needs to trigger some
    > Javascript
    > code when clicked. I know I can use the ActionScript GetURL function to
    > actually run the JS but I can't figure out how to trigger it.
    >

    Mike Nimer 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