El Tabelle MultiRow 4.0JのTemplate.Cells.Clearメソッドに相当する機能はありますか?
対象製品
MultiRow for Windows Forms 8.0J
詳細
対応する機能はありません。下記のようなコードでテンプレートの各セルの値をクリアすることでご対応ください。
[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;