Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Flash Form - Grid

    Is it possible to change the values in a grid without using the EDIT mode? I
    want to select a row, and populate a set of nicely formatted input boxes
    outside of the grid for the user to make changes. Then when they are done,
    write the new values back to the grd. Also is there any way to have a row in
    the grid already selected when the form loads? Doesn't have a 'selected'
    property.

    elfrick Guest

  2. Similar Questions and Discussions

    1. Mouse Wheel Scroll Flash Form Grid
      I think flash text fields have a property called mouseWheelEnabled? Problem: When I have multiple flash form grids on the screen, and I scroll...
    2. deselect grid item in flash form
      Is there anyway to deselect an item in flash grid without letting the user hold ctrl key? For example, is there anyway to bind a DESELECT button to...
    3. Flash Form Grid issue
      I have a cfGrid with 6 columns the last of which is set to Boolean and contains a checkbox. I want to create buttons that allow the user to "check...
    4. HELP! flash form grid show datetime 2 hours ahead
      I am having trouble with flash forms and the cfgrid showing a datetime 2hours ahead. Ex: 2005-02-28 07:30:00 in the database and in the grid it...
    5. Grid with an enquiry form
      Hi I have an enquiry web form with several fields to which I also need to link a grid. As it is an enquiry form I don't necessarily want to bind...
  3. #2

    Default Re: Flash Form - Grid

    There is a good example of doing what you want in the snippets;
    [url]http://www.macromedia.com/examples/cfgettingstarted/experience/snippets.cfm[/url]
    Use the grid for the header, and another form panel for the detailed data
    entry. You will need to bind the detail fields to the grid values, and when
    'onChange', set the values of the grid element to the form field element you
    are editing. Regarding the gridRow being selected, you can use something like
    this in the cfFormGroup tag. It fires when first loading, even though it is an
    onChange event.

    <cfformgroup type="tabnavigator" onchange="if
    (myGrid.selectedIndex==null){myGrid.selectedIndex= 0}">

    mHintze Guest

  4. #3

    Default Re: Flash Form - Grid

    Thanks for the pointers. Turned out the think that had me thrown was that I had
    'Select Dept_ID' in my query, and although i Had 'DEPT_ID' in my CFGRIDITEM
    tag, the update code would only work if I used 'Dept_ID'. Very odd that is
    insists on using the case in the query and not in the grid defn. Anyway,
    soreted now. As for the highlight. At first I thought, 'very nice, but I don't
    want a tab navigator', but of course, by setting it to a height/width of 0 and
    making it hidden, I get the benefot of the onChange event firing, even though I
    don't see it. Notice dthat I can't have an empty tab navigator though, I need
    to have at least one item it it otherwise it doesn't work. For anyone else
    who's interested, this is what I now have: <cfformgroup type='tabnavigator'
    visible='No' enabled='Yes' height='0' width='0'
    onchange='FirstGrid.selectedIndex=0'> <cfformitem type='text' visible='Yes'
    enabled='Yes' /> </cfformgroup>

    elfrick 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