English 中文(简体)
cfgrid 显示价值,而不是按ed计的数值。
原标题:cfgrid displays values instead of valuelist on edit

我在CF 8中有一个电网,该电网载有使用计票保存数据的落户箱名单。 这些价值观是雇员的关键,因为这是我需要拯救的最新情况,所展示的价值观掌握着雇员的名字。 除我选择名字和把重点转移到另一个牢房外,一切照样工作。 如果我读整页,则看上去正确,则编辑的更新是正确的。 我要么需要说明如何确定这一点,要么在名字被选定或情况最糟之后如何更新电网,在改动后提交整页。 我没有能够指出这样做的任何途径,并且正在为此工作几天。

该法典:

<cfgrid  
  name = "grdDetails"  
  format = "html"  
  bind = "cfc:Team.getTeamDetails({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})"
  stripeRows = true  
  selectColor = "##FF00FB"  
  selectmode="edit"   
  onchange="cfc:Team.editData({cfgridaction},{cfgridrow},{cfgridchanged})"   
>
  <cfgridcolumn width="150" name="floor" header="Team" select="no">  
  <cfgridcolumn width="150" name="PTeam" header="PTeam" select="yes" values="#valuelist(qryP.employee_Key)#" valuesdisplay="#valuelist(qryP.Name)#">  
  <cfgridcolumn width="150" name="POTeam" header="POTeam" select="yes" values="#valuelist(qryPO.employee_Key)#" valuesdisplay="#valuelist(qryPO.Name)#">  
  <cfgridcolumn width="150" name="STeam" header="STeam" select="yes" values="#valuelist(qryS.employee_Key)#" valuesdisplay="#valuelist(qryS.Name)#">  
  <cfgridcolumn width="150" name="HTeam" Header="HTeam" select="yes" values="#valuelist(qryH.employee_Key)#" valuesdisplay="#valuelist(qryH.Name)#">  
  <cfgridcolumn width="150" name="RTeam" header="RTeam" select="yes" values="#valuelist(qryR.employee_Key)#" valuesdisplay="#valuelist(qryR.Name)#">  
  <cfgridcolumn width="150" name="OTeam" header="OTeam" select="yes" values="#valueList(qryO.employee_Key)#" valuesdisplay="#valuelist(qryO.Name)#">  
</cfgrid>
问题回答

暂无回答




相关问题
JQuery AJAX .load - flash chart doesnt load in IE

An IE issue has me completely stumped. I have a coldfusion page that uses JQuery s AJAX .load function to load in a new flash file that is generated by coldFusion s cfchart tag. This works completely ...

Best Coldfusion Library for OpenID [closed]

I am getting ready to start a project that requires using OpenID within Coldfusion 8. I have found a number of different options and was wondering what has worked the best, get s the most support, ...

Find ColdFusion Generated ID

Is there a way to find the elements generated by ColdFusion s <CFLayout> and <CFLayoutArea> tags? These tags: <cflayout type="tab" name="MyAccount"> <cflayoutarea name="...

ColdFusion COM error

I am upgrading from CF4.5 to CF8. Calls to COM dll s that used to work in version 4.5 now throw a "Complex object types cannot be converted to simple values.." error. The COM object has a few arrays ...

What s the best way to write engine-specific CFML code?

Sometimes it is necessary to write different code for Adobe ColdFusion vs Railo vs OpenBD, due to differences in implementation. Do people have a specific method that they use for this? For example, ...

热门标签