Completed
Last Updated: 26 Mar 2018 14:19 by Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 22 Mar 2018 06:52
Category: GanttView
Type: Bug Report
1
FIX. RadGanttView - visual refresh is not triggered when setting the Visible property of a column to false
To reproduce: populate RadGanttView with data and hide some of the columns in a button's Click event: 

    Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
        Me.RadGanttView1.GanttViewElement.Columns(0).Visible = False
    End Sub

The column is not hidden until you move the splitter.

Workaround:

    Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
        Me.RadGanttView1.GanttViewElement.Columns(0).Visible = False

        Me.RadGanttView1.GanttViewElement.InvalidateMeasure(True)
        Me.RadGanttView1.GanttViewElement.UpdateLayout()
    End Sub
Attached Files:
0 comments