<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFGRIDROW</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="説明">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFGRIDROW</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">説明</span>
<p>
クエリーを行データのソースとして使用しない cfgrid コントロールを定義することができます。query 属性が cfgrid タグで定義されている場合、cfgridrow タグは無視されます。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">カテゴリ</span>
<p>
フォームタグ
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">シンタックス</span><pre>&lt;cfgridrow
   data = &quot;col1, col2, ...&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">関連項目</span>
<p>
cfgrid、cfgridcolumn、cfgridupdate、cfform、cfinput、cfselect、cfslider、cftextarea、cftree
</p>

<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">例</span>
<p>
次の例は、cfgridrow タグを使用してリストデータから cfgrid タグを挿入する方法を示しています。
</p>
<pre>&lt;!--- 2 つのリストを設定します。それぞれにグリッド列のデータを使用します。 ---&gt;
&lt;cfset cities = &quot;Rome,Athens,Canberra,Brasilia,Paris&quot;&gt;
&lt;cfset countries = &quot;Italy,Greece,Australia,Brazil,France&quot;&gt;

&lt;cfform name = &quot;cities&quot;&gt;
   &lt;cfgrid name=&quot;GeoGrid&quot; autowidth = &quot;yes&quot; vspace = &quot;4&quot; 
         height = &quot;120&quot; font=&quot;tahoma&quot; rowheaders=&quot;no&quot;&gt;
      &lt;cfgridcolumn name=&quot;City&quot; header=&quot;City&quot;&gt;
      &lt;cfgridcolumn name=&quot;Country&quot; header=&quot;Country&quot;&gt;
      &lt;!--- cfgridrow を使用してリスト全体をループし、グリッドを挿入します。 ---&gt; 
      &lt;cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#ListLen(cities)#&quot;&gt;
         &lt;cfgridrow data =&quot;#ListGetAt(cities, i)#,#ListGetAt(countries, i)#&quot;&gt;
      &lt;/cfloop&gt;
   &lt;/cfgrid&gt;&lt;br&gt;&lt;br&gt;
&lt;/cfform&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="DATA">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DATA</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>列の値をカンマ区切りで指定したリストです。値の中にカンマが含まれている場合は、カンマ記号をもう 1 つ使用してエスケープする必要があります。</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
