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
150
Dynamically Change the column headers in the grid control
posted

Hi,

I have a standard datagrid on a screen and dynamically change the column headers based on other data.  I would like to use this approach using the Infragistics grid so that I can make use of the summary row feature.  I have imported the Infragistics.Controls.Grids namespace (VB.net please!) but cannot find the Grid element to replace 'DataGrid' in this code sample:           

Private Sub PCVCtrl_Available(sender As Object, e As ControlAvailableEventArgs)

            If TypeOf (e.Control) Is DataGrid Then
                _DG = CType(e.Control, DataGrid)              
            End If

End Sub

Any ideas?

Regards,

 

Alan