tracker issue : CF-4204128

select a category, or use search below
(searches all categories and all time range)

cfgrid seems to be confusing columns

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mitchell K. / ()

Created: 03/29/2019

Components: CFForm, HTML

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: Coldfusion 2018 Update 3 / CF2018U5

Priority/Frequency: Normal / Most users will encounter

Locale/System: English / Windows 10

Vote Count: 2

Problem Description: Editable cfgrid on fresh Coldfusion 2018 installation seems to be confusing columns. Changes to one column are interpreted as changes to the column directly to the right. Changes to the right-most column throw a javascript error that there is nothing to update. Image shows cfdump when 'john' changed to 'peter'. Commenters on stackoverflow suggest repeatability in some cases but not in others. Some got the same behavior and others did not:

Steps to Reproduce:
<cfif isDefined("form.submitname")> 
  <cfdump var="#form#">
  <cfform action="test.cfm" method="post" name="testform" id="testformId">
    <cfinput type="Submit" name="submitname" id="submitid">
    <cfgrid name="TestGrid" format="html" selectmode="edit">
      <cfgridcolumn name="A"> 
      <cfgridcolumn name="B">
      <cfgridrow data="john,doe">
      <cfgridrow data="steve,anon">

Actual Result:

Expected Result: 

Any Workarounds:



When will this be fixed?
Vote by Tom W.
31134 | August 20, 2019 02:26:49 PM GMT