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?
I always get the column count to be 0, I am not sure what I am missing?
The columns are auto generated.
Thanks, Shilpi
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.