GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

RowFilter

Last post 05-06-2009, 12:53 PM by Gina. 2 replies.
Sort Posts: Previous Next
  •  05-06-2009, 12:08 PM 77611

    RowFilter

    The interface to the RowFilter as documented in the Help File (FarPoint.Win.Spread.4.0.chm) is not the same as in the Object Library.  As a result, the examples given in the Help File are broken.  Also there is a typo on the rf in the example I quoted below. Is there an updated version of the Help File I can download?

     

    Dim fcdc As New FarPoint.Win.Spread.FilterColumnDefinitionCollection
    Dim fcd As New FarPoint.Win.Spread.FilterColumnDefinition(1, FarPoint.Win.Spread.FilterListBehavior.Default)
    fcdc.Add(fcd)
    Dim instyle As New FarPoint.Win.Spread.NamedStyle
    Dim outstyle As New FarPoint.Win.Spread.NamedStyle
    instyle.BackColor = Color.Yellow
    outstyle.BackColor = Color.Gray
    Dim rf As New FarPoint.Win.Spread.StyleRowFilter(FpSpread1.ActiveSheet, fcdc, instyle, outstyle)

    FpSpread1.ActiveSheet.RowFilter = sf

    If Not rf Is Nothing Then
        Dim dlg As DialogResult
        dlg = MessageBox.Show("Set the filter??")
        If dlg = DialogResult.OK Then
            TextBox1.Text = FpSpread1.ActiveSheet.RowFilter().ToString
        End If
    End If

     

     Joe

  •  05-06-2009, 12:41 PM 77615 in reply to 77611

    Re: RowFilter

    Joe,

    Thank you very much for sharing the feedback with us. The online version of the help file can be downloaded from the following location:

    http://www.clubfarpoint.com/FarPointSupportSite/Modules/Docs/default.aspx

    Once you install/upgrade to the latest build of the control, the updated help file also gets installed on the machine.Thanks


    Suresh Singh Dasila
    GrapeCity FarPoint
  •  05-06-2009, 12:53 PM 77616 in reply to 77611

    Re: RowFilter

    There is a more up to date sample under the StyleRowFilter class in the assembly reference (constructor).  This sample was probably created before the product was released.  Thanks.

    FarPoint Technologies, Inc
View as RSS news feed in XML
     FarPoint Forums Home