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
365
Converting from ultrawebgrid to WHD
posted

In the ultrawebgrid I was using

 

Private Sub ugridPermissions_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles ugridPermissions.InitializeLayout

to hide columns.

 

What is equivalent to this in the WHD?

Parents
  • 37874
    Verified Answer
    posted

    Hi dan2012a,

    You could use InitializeBand event to hide columns, using code similar to the following:

    protected void WebHierarchicalDataGrid1_InitializeBand(object sender, Infragistics.Web.UI.GridControls.BandEventArgs e)

    {

        e.Band.Columns[0].Hidden = true;

    }

    Please let me know if this helps.

Reply Children
No Data