Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / GroupColumnHeaderCssClass Property

In This Topic
    GroupColumnHeaderCssClass Property
    In This Topic
    Gets or sets the CSS class for the column headers on the group bar.
    Public Property GroupColumnHeaderCssClass As String
    Dim instance As FpSpread
    Dim value As String
    instance.GroupColumnHeaderCssClass = value
    value = instance.GroupColumnHeaderCssClass
    public string GroupColumnHeaderCssClass {get; set;}

    Property Value

    String containing the name of the CSS class
    .CssStyle1 { FONT: 700 12pt verdana; COLOR: yellow }
    string conStr = "Provider=Microsoft.JET.OLEDB.4.0;data source= c:\\Patients2000.mdb";
    string sqlStr = "SELECT * FROM Patients";
    System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection(conStr);
    DataSet ds = new DataSet();
    System.Data.OleDb.OleDbDataAdapter daCust = new System.Data.OleDb.OleDbDataAdapter(sqlStr, conn);
    FpSpread1.DataSource = ds;
    FpSpread1.ActiveSheetView.AllowColumnMove = true;
    FpSpread1.ActiveSheetView.GroupBarVisible = true;
    FpSpread1.ActiveSheetView.AllowGroup = true;
    FpSpread1.GroupColumnHeaderCssClass = "CssStyle1";
    .CssStyle1 { FONT: 700 12pt verdana; COLOR: yellow }
    Dim conStr As String = "Provider=Microsoft.JET.OLEDB.4.0;data source= c:\Patients2000.mdb"
    Dim sqlStr As String = "SELECT * FROM Patients"
    Dim conn As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection(conStr)
    Dim ds As DataSet = New DataSet
    Dim daCust As System.Data.OleDb.OleDbDataAdapter = New System.Data.OleDb.OleDbDataAdapter(sqlStr, conn)
    FpSpread1.DataSource = ds
    FpSpread1.ActiveSheetView.AllowColumnMove = True
    FpSpread1.ActiveSheetView.GroupBarVisible = True
    FpSpread1.ActiveSheetView.AllowGroup = True
    FpSpread1.GroupColumnHeaderCssClass = "CssStyle1"
    See Also