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
100
Text In Column Temporarily Dissapears.
posted

I have an Ultra Grid with three visible columns.  The first column's style is set to 'Check Box' and is editable.  The second column is disabled and is a text column.  The third column is a text column and is editable.  When I click on the check box in the first column the text in the third column for that row dissapears until I leave the check box column.  So when the grid first appears, the first row is selected, the user sees all the data.  They then click on the checkbox in the first column and the text in the third column of that row dissapears.  Next they tab out of the checkbox column and the text appears again in the third column.  Any ideas as to how to stop the text from dissapearing?  Thanks...

Below is the code that is used to format the grid after it's been bound to the datasource.

Dim Band As UltraGridBand

Dim Column As UltraGridColumn

With Me.grdStep2Main

For Each Band In .DisplayLayout.Bands

    For Each Column In Band.Columns

        Column.Hidden = True

        Column.CellAppearance.ForeColorDisabled = System.Drawing.SystemColors.ControlText

    Next

    With Band.Columns(myReportTable.SelectedColumn.ToString)

        .Hidden = False

        .Header.Caption = "Select" '<TODO> localize

        .Header.VisiblePosition = 0

        .Style = ColumnStyle.CheckBox

        .CellActivation = Activation.AllowEdit

        .SortIndicator = SortIndicator.Descending

    End With

   With Band.Columns(myReportTable.CRMRptNameColumn.ToString)

        .Hidden = False

        .Header.Caption = "Report Name" '<TODO> localize

        .Header.VisiblePosition = 1

        .Style = ColumnStyle.Edit

        .CellActivation = Activation.Disabled

        .Width = 250

    End With

 

    With Band.Columns(myReportTable.CIMTabCapColumn.ToString)

        .Hidden = False

        .Header.Caption = "Tab Caption" '<TODO> localize

        .Header.VisiblePosition = 2

        .Style = ColumnStyle.Edit

        .CellActivation = Activation.AllowEdit

        .MaxLength = 15

    End With

    With Band.Columns(myReportTable.TabOrderColumn.ToString)

        .SortIndicator = SortIndicator.Ascending

    End With

Next

End With

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

         Are you using the latest hot fix? There was a bug like this recently where sometimes a cell would end up using the highlight forecolor instead of the normal forecolor, so it would appear with white text on a white background. But it was fixed a while ago. 

        If you already have the latest hot fix, then I recommend reporting this issue to Infragistics Developer Support and including a small sample project that demonstrates the problem.

         Submit a Support Issue

Children
No Data