作成日: 2022/03/11 最終更新日: 2022/03/30
文書種別
技術情報
詳細
対応する機能はありません。下記のようなコードでテンプレートの各セルの値をクリアすることでご対応ください。
[Visual Basic]
[C#]
[Visual Basic]
Imports GrapeCity.Win.MultiRow ' テンプレートの取得 Dim template1 As Template = GcMultiRow1.Template ' テンプレートのセルの値のクリア For Each c As Cell In template1.Row.Cells If Not TypeOf c Is HeaderCell Then c.Value = Nothing End If Next GcMultiRow1.Template = template1
[C#]
using GrapeCity.Win.MultiRow;
// テンプレートの取得
Template template1 = gcMultiRow1.Template;
// テンプレートのセルの値のクリア
foreach (Cell c in template1.Row.Cells)
{
if (!(c is HeaderCell))
{
c.Value = null;
}
}
gcMultiRow1.Template = template1;