FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnAllowFilter Method |
fpSpread1.ActiveSheet.Columns[2].AllowAutoFilter = true; fpSpread1.ActiveSheet.AutoFilterColumn(2, "London", 1); private void button1_Click(object sender, System.EventArgs e) { bool b = fpSpread1.ActiveSheet.GetColumnAllowFilter(2); MessageBox.Show("The column can be filtered is " + b.ToString()); }
FpSpread1.ActiveSheet.Columns(2).AllowAutoFilter = True FpSpread1.ActiveSheet.AutoFilterColumn(2, "London", 1) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As Boolean = FpSpread1.ActiveSheet.GetColumnAllowFilter(2) MessageBox.Show("The column can be filtered is " & b.ToString()) End Sub
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8