Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Color Picker in WinGrid
posted

 

Hello !

I have a UltraWinGrid that has a column with

on the Grid_InitializeRow event

I have set style as Infragistics.Win.UltraWinGrid.ColumnStyle.Color

and also able to set the right color for every row.

the problem is that it shows the rgb value, like the picture shown here.

How can i hide that ? I also want to allow user to change these color. I do not want even name of color.

I am very much new to Infragistics code. Any smaple code with explanation will help me lot.

Thank you.
  • 149
    Offline posted

    hey.

    I had the same issue.

    It can be done by setting initialily:

    Columns["ColorStyleColum"].CellAppearance.ForeColor = Color.Transparent;

    then hook into the InitializeRow event and set ...
    e.Row.Cells["ColorStyleColum"].SelectedAppearance.ForeColor = Color.Transparent;

    sadly i coulnd find anything like

    Columns["ColorStyleColum"].SelectedCellAppearance ; (

    be warned this more a hack than a solution the grid could very well be in a state that i overlooked, and the text will be shown again.

     

    anyway ... hope it helps

     

    regards

  • 469350
    Offline posted

    There is currently no way to hide the text. At least, no reasonably easy way. You might be able to do it using a CreationFilter or a DrawFilter. 

    You should  Submit a feature request to Infragistics