FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > DefaultRowFilter クラス > ResetFilter メソッド : ResetFilter(Int32) メソッド |
'Declaration Public Overloads Sub ResetFilter( _ ByVal modelColumn As Integer _ )
'使用法 Dim instance As DefaultRowFilter Dim modelColumn As Integer instance.ResetFilter(modelColumn)
public void ResetFilter( int modelColumn )
private void Form1_Load(object sender, EventArgs e) { fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true; fpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = true; } private void button1_Click(object sender, EventArgs e) { fpSpread1.ActiveSheet.RowFilter.ResetFilter(1); }
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True FpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = True End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click FpSpread1.ActiveSheet.RowFilter.ResetFilter(1) End Sub