<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - HTML CFGRID not passing all modified values</title>
    <link>https://forums.adobe.com/community/coldfusion/coldfusion_forms?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 22 Mar 2013 08:36:59 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-03-22T08:36:59Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/5162927?tstart=0#5162927</link>
      <description>&lt;!-- [DocumentBodyStart:0bbef235-6f63-4957-86ad-2c4e93e9f5df] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;That's exactly the same behaviour we experience, and describes the problem very well. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Looking in the manual (cfgrid), there is a Note "...Adobe recommends that after user updates data in a cell, they click another cell before submitting the form." &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Meanwhile i put that issue on the bug-tracklist.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0bbef235-6f63-4957-86ad-2c4e93e9f5df] --&gt;&lt;img src='/beacon?t=1415920107504' /&gt;</description>
      <pubDate>Wed, 20 Mar 2013 09:33:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5162927?tstart=0#5162927</guid>
      <dc:date>2013-03-20T09:33:18Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/5160948?tstart=0#5160948</link>
      <description>&lt;!-- [DocumentBodyStart:646bc58f-7861-4074-95d4-7ab11f4547cc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Did you ever figure this out?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:646bc58f-7861-4074-95d4-7ab11f4547cc] --&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:48:41 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5160948?tstart=0#5160948</guid>
      <dc:date>2013-03-19T18:48:41Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/5160717?tstart=0#5160717</link>
      <description>&lt;!-- [DocumentBodyStart:27faa921-314d-442d-86b7-c49a23d097f6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Not sure if this was your issue but I have the same problem and have narrowed it down to how you exit the cell you just edited. If you tab or enter it assigns the data properly but if you click with the mouse on another field it seems the data you entered gets marked internally to the field you just clicked to.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:27faa921-314d-442d-86b7-c49a23d097f6] --&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:03:28 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5160717?tstart=0#5160717</guid>
      <dc:date>2013-03-19T18:03:28Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/5126140?tstart=0#5126140</link>
      <description>&lt;!-- [DocumentBodyStart:49d789f2-4091-4682-a799-dddab7fffedd] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Same Problem.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Because of recent Java security issues we decided to change the format of our controls from applet to html. Thus our client doesn&amp;#8217;t need the JRE anymore.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We used the cftree and the cfgrid control. The format change of the cftree-control was not as easy as expected, but after several hours we fixed the display of the control. Now it works fine. By the way that was not our understanding of rapid prototyping.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The change of the cfgrid control was quite easy, just changing the format and adjusting some parameters. Looks fine and ready to use. But we have encountered serious problems, which we are unable to fix. Like in &lt;a class="jive-link-message-small" data-containerId="2228" data-containerType="14" data-objectId="5077649" data-objectType="2" href="https://forums.adobe.com/message/5077649#5077649"&gt;http://forums.adobe.com/message/5077649#5077649&lt;/a&gt;&lt;span&gt; and &lt;/span&gt;&lt;a class="jive-link-message-small" data-containerId="2223" data-containerType="14" data-objectId="4606378" data-objectType="2" href="https://forums.adobe.com/message/4606378#4606378"&gt;http://forums.adobe.com/message/4606378#4606378&lt;/a&gt;&lt;span&gt; mentions, not all modified values are transferred to the actionpage.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It seems that modified checkboxes are transferring data in the right way, but changes to a dropdown, or text cells does not always force the modified dataset to be sent. In some cases even a wrong data row is sent.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We are using CF902 and will be migrating to CF10, tests with CF10 show the same behaviour.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We would greatly appreciate a solution for this issue.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For further research here is a sample of a self running demo code.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:6c037911-bc2d-4f22-80df-ab7c46b4d512][excluded]--&gt;&lt;pre class="plain" name="code"&gt;&amp;lt;!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Gridtest&amp;lt;/title&amp;gt;
&amp;lt;meta http-equiv="pragma" content="no-cache"&amp;gt;
&amp;lt;meta http-equiv="expires" content="0"&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;!--- Display Formparameter ---&amp;gt;
Form.Var: &amp;lt;cfdump var="#Form#"&amp;gt;

&amp;lt;!--- Action ---&amp;gt;&amp;nbsp; 
&amp;lt;cfif isdefined("Form.Teilnehmerliste.RowStatus.Action")&amp;gt;
 &amp;lt;cfloop index="x" from="1" to="#arraylen(Form.Teilnehmerliste.RowStatus.Action)#"&amp;gt;
&amp;nbsp; &amp;lt;!--- Datenbank aktualisieren ---&amp;gt;
&amp;nbsp; &amp;lt;cfif #Form.Teilnehmerliste.RowStatus.Action[x]# eq 'U'&amp;gt;
&amp;nbsp;&amp;nbsp; update &amp;lt;br&amp;gt;
&amp;nbsp; &amp;lt;cfelseif #Form.Teilnehmerliste.RowStatus.Action[x]# eq 'I'&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;!--- Insert ---&amp;gt;
&amp;nbsp; &amp;lt;cfelse&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;!--- Delete ---&amp;gt;
&amp;nbsp; &amp;lt;/cfif&amp;gt;
 &amp;lt;/cfloop&amp;gt;
 &amp;lt;cfabort&amp;gt;
&amp;lt;/cfif&amp;gt;&amp;lt;!---&amp;nbsp; isdefined("Form.Teilnehmerliste.RowStatus.Action") ---&amp;gt;

&amp;lt;!--- Make a query of 5 records ---&amp;gt;
&amp;lt;cfset xtnliste = QueryNew("Personalnummer,Anmeldung_ID,Termine_ID,Name,Vorname,Status,Tage,Privatanschrift")&amp;gt;
&amp;lt;!--- 1 ---&amp;gt;
&amp;lt;cfset temp = QueryAddRow(xtnliste)&amp;gt; 
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Personalnummer", "0000015")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Anmeldung_ID", 54282)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Termine_ID", 4711)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Name", "Name1")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Vorname", "Petra")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Status", "Z")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Tage", 35)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Privatanschrift", 1)&amp;gt;
&amp;lt;!--- 2 ---&amp;gt;
&amp;lt;cfset temp = QueryAddRow(xtnliste)&amp;gt; 
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Personalnummer", "0004015")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Anmeldung_ID", 55152)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Termine_ID", 4711)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Name", "Name2")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Vorname", "Anja")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Status", "Z")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Tage", 41)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Privatanschrift", 0)&amp;gt;
&amp;lt;!--- 3 ---&amp;gt;
&amp;lt;cfset temp = QueryAddRow(xtnliste)&amp;gt; 
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Personalnummer", "2565210")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Anmeldung_ID", 55153)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Termine_ID", 4711)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Name", "Name3")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Vorname", "Holgi")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Status", "W")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Tage", 0)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Privatanschrift", 0)&amp;gt;
&amp;lt;!--- 4 ---&amp;gt;
&amp;lt;cfset temp = QueryAddRow(xtnliste)&amp;gt; 
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Personalnummer", "2577210")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Anmeldung_ID", 55157)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Termine_ID", 4711)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Name", "Name4")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Vorname", "Hilde")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Status", "B")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Tage", 0)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Privatanschrift", 0)&amp;gt;
&amp;lt;!--- 5 ---&amp;gt;
&amp;lt;cfset temp = QueryAddRow(xtnliste)&amp;gt; 
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Personalnummer", "2333585")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Anmeldung_ID", 55200)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Termine_ID", 4711)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Name", "Name5")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Vorname", "Peter")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Status", "Z")&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Tage", 10)&amp;gt;
&amp;lt;cfset temp = QuerySetCell(xtnliste, "Privatanschrift", 0)&amp;gt;
&amp;lt;!--- Display Form ---&amp;gt;
 
&amp;lt;cfform action="gridtest.cfm" method="post" target="_blank" name="teilnehmer"&amp;gt;
&amp;lt;cfgrid name="Teilnehmerliste" 
format="html"
query="xtnliste" 
title="Teilnehmerliste"
width="600" height="180"
insert="no" delete="no" sort="no"
bold="No" italic="No" 
appendkey="yes"&amp;nbsp; highlighthref="No"
griddataalign="left" gridlines="Yes" bgcolor="##ffffff" stripeRows="yes" stripeRowColor="##ededed"&amp;lt;!---&amp;nbsp; onValidate="Grid_Val"&amp;nbsp; ---&amp;gt;
rowheaders="no" rowheaderalign="right" rowheaderitalic="No" rowheaderbold="No" 
colheaders="Yes" colheaderalign="center" colheaderitalic="No" colheaderbold="No" &amp;lt;!--- onError="Grid_Error" ---&amp;gt;
selectcolor="##dde3eb" selectmode="edit" picturebar="No" autowidth="yes"&amp;gt;
&amp;lt;!--- Spalten definieren ---&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfgridcolumn name="Personalnummer" dataalign="LEFT" bold="yes" italic="No" select="No" display="yes" headerbold="No" headeritalic="No"&amp;gt;
 &amp;lt;cfgridcolumn name="Anmeldung_ID" dataalign="LEFT" bold="yes" italic="No" select="No" display="yes" headerbold="No" headeritalic="No"&amp;gt;
 &amp;lt;cfgridcolumn name="Termine_ID" dataalign="LEFT" bold="yes" italic="No" select="No" display="no" headerbold="No" headeritalic="No"&amp;gt;
 &amp;lt;cfgridcolumn fontsize="11" name="Name" dataalign="LEFT" bold="No" italic="No" select="no" display="yes" headerbold="No" headeritalic="No" href="data.cfm" hrefkey="Personalnummer" target="_self"&amp;gt;
 &amp;lt;cfgridcolumn fontsize="11" name="Vorname" dataalign="LEFT" bold="No" italic="No" select="no" display="yes" headerbold="No" headeritalic="No"&amp;gt;
 &amp;lt;cfgridcolumn fontsize="11" name="Status" dataalign="LEFT" bold="No" italic="No" select="yes" display="yes" headerbold="No" headeritalic="No" values="B,Z,W,R,A" valuesdisplay="Bewerbung, Zugelassen, Warteliste, Rueckzug, Abgelehnt" valuesdelimiter=","&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfgridcolumn width="50" fontsize="11" name="Tage" dataalign="RIGHT" bold="No" italic="No" select="yes" display="yes" headerbold="No" headeritalic="No" type="numeric"&amp;gt;
 &amp;lt;cfgridcolumn name="Privatanschrift" header="Privat" dataalign="LEFT" bold="No" italic="No" select="yes" display="yes" headerbold="No" headeritalic="No" type="boolean"&amp;gt;
&amp;lt;/cfgrid&amp;gt;
 &amp;lt;input type="submit" value="&amp;#196;nderungen speichern"&amp;gt;
&amp;lt;/cfform&amp;gt; 
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/pre&gt;&lt;!--[CodeBlockEnd:6c037911-bc2d-4f22-80df-ab7c46b4d512]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:49d789f2-4091-4682-a799-dddab7fffedd] --&gt;</description>
      <pubDate>Wed, 06 Mar 2013 14:53:42 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5126140?tstart=0#5126140</guid>
      <dc:date>2013-03-06T14:53:42Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/5077649?tstart=0#5077649</link>
      <description>&lt;!-- [DocumentBodyStart:e0779b67-573e-420f-9b1d-11a1e2a54658] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have the same issue, did you solveD?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e0779b67-573e-420f-9b1d-11a1e2a54658] --&gt;</description>
      <pubDate>Sat, 16 Feb 2013 04:42:22 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5077649?tstart=0#5077649</guid>
      <dc:date>2013-02-16T04:42:22Z</dc:date>
      <clearspace:dateToText>1 year 9 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/4940717?tstart=0#4940717</link>
      <description>&lt;!-- [DocumentBodyStart:ec465317-62a9-4b60-ad14-d32bc3f23b37] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Could we see how you define the grid tag(s), including attributes?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ec465317-62a9-4b60-ad14-d32bc3f23b37] --&gt;</description>
      <pubDate>Sat, 22 Dec 2012 14:48:33 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4940717?tstart=0#4940717</guid>
      <dc:date>2012-12-22T14:48:33Z</dc:date>
      <clearspace:dateToText>1 year 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>HTML CFGRID not passing all modified values</title>
      <link>https://forums.adobe.com/message/4934212?tstart=0#4934212</link>
      <description>&lt;!-- [DocumentBodyStart:91c411d1-80ad-4a14-9604-c0241aa113e0] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I've got an HTML type CFGRID (using CF10) and keep running into this issue where it's not passing all the fields that I modify.&amp;nbsp; Say I have 5 rows, and I modify the same 3 columns in all 5 rows (entering prices).&amp;nbsp; All 15 cells get the little red modified indicator, but when I submit the form, the resulting form variables don't contain all the changes.&amp;nbsp; I'm dumping out the form object, and looking at the "grid.rowstatus.action" array to find which rows need updating, as well as the individual arrays containing each column's data.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can't see any pattern to why it sometimes omits rows or even just cells I've modified.&amp;nbsp; And it's not always the same, and sometimes it gets it right.&amp;nbsp; I haven't been able to find any references to similar behavior, so I'm kind of stumped, and at this point, I may have to ditch the cfgrid and try a JQuery grid of some sort to see if it works better.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone have any ideas?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:91c411d1-80ad-4a14-9604-c0241aa113e0] --&gt;</description>
      <pubDate>Wed, 19 Dec 2012 20:22:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4934212?tstart=0#4934212</guid>
      <dc:date>2012-12-19T20:22:56Z</dc:date>
      <clearspace:dateToText>1 year 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

