Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
elfrick #1
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
-
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... -
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... -
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... -
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... -
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... -
mHintze #2
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
-
elfrick #3
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



Reply With Quote

