Posted by: hpadmasola1 on 8 September 2017, 2:04 pm EST

  • Posted 8 September 2017, 2:04 pm EST

    Iam using the latest spread for windows in a dot net application. When I select a row in the Spread, the default backcolor of the selected row is too dark. how can I change the default ?

    Thanks in advance


  • Replied 8 September 2017, 2:04 pm EST


    If you want to change the backcolor of selected row, you can apply a different skin to spread using the smart Tag of Spread or if you want to do using code, then in the LeaveCell event of Spread you can set the selected row backcolor when the SelectionUnit is set to Row. e.g:


     FpSpread1.ActiveSheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row


     Private Sub FpSpread1_CellClick(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.CellClickEventArgs) Handles FpSpread1.CellClick
            e.View.Sheets(0).Rows(e.Row).BackColor = Color.LightBlue
    End Sub


    Hope this helps. Thanks

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels