Given the following routine, can you please explain why I am not able to change the row height via code?
With Me.dvAreas .AllowColumnReorder = False .AllowColumnResize = False .AllowRowReorder = False .AllowRowResize = False .EnableAlternatingRowColor = True .AutoSizeRows = False .TableElement.GroupHeaderHeight = 50 .TableElement.RowHeight = 50 .TableElement.TableHeaderHeight = 50 Dim colID As New GridViewTextBoxColumn() colID.Name = "colID" colID.HeaderText = "Work Area ID" colID.FieldName = "WorkAreaID" colID.MaxLength = 0 colID.TextAlignment = ContentAlignment.MiddleRight colID.IsVisible = False colID.Width = 0 Dim colWorkAreaName As New GridViewTextBoxColumn() colWorkAreaName.Name = "WorkAreaName" colWorkAreaName.HeaderText = "Name" colWorkAreaName.FieldName = "WorkAreaName" colWorkAreaName.MaxLength = 15 colWorkAreaName.TextAlignment = ContentAlignment.MiddleLeft colWorkAreaName.IsVisible = True colWorkAreaName.Width = 100 Dim colWallConstructionMasonry As New GridViewCheckBoxColumn() colWallConstructionMasonry.Name = "WCMasonry" colWallConstructionMasonry.HeaderText = "Masonry" colWallConstructionMasonry.FieldName = "WCMasonry" colWallConstructionMasonry.TextAlignment = ContentAlignment.MiddleLeft colWallConstructionMasonry.IsVisible = True colWallConstructionMasonry.Width = 100 Dim colWallConstructionSteel As New GridViewCheckBoxColumn() colWallConstructionSteel.Name = "WCSteel" colWallConstructionSteel.HeaderText = "Steel" colWallConstructionSteel.FieldName = "WCSteel" colWallConstructionSteel.TextAlignment = ContentAlignment.MiddleLeft colWallConstructionSteel.IsVisible = True colWallConstructionSteel.Width = 100 Dim colWallConstructionOther As New GridViewCheckBoxColumn() colWallConstructionOther.Name = "WCOther" colWallConstructionOther.HeaderText = "Other" colWallConstructionOther.FieldName = "WCOther" colWallConstructionOther.TextAlignment = ContentAlignment.MiddleLeft colWallConstructionOther.IsVisible = True colWallConstructionOther.Width = 100 .MasterTemplate.Columns.Add(colID) .MasterTemplate.Columns.Add(colWorkAreaName) .MasterTemplate.Columns.Add(colWallConstructionMasonry) .MasterTemplate.Columns.Add(colWallConstructionSteel) .MasterTemplate.Columns.Add(colWallConstructionOther) Dim view As New ColumnGroupsViewDefinition() view.ColumnGroups.Add(New GridViewColumnGroup("Work Area")) view.ColumnGroups.Add(New GridViewColumnGroup("Wall Construction")) view.ColumnGroups(0).Rows.Add(New GridViewColumnGroupRow()) view.ColumnGroups(0).Rows(0).ColumnNames.Add("WorkAreaName") view.ColumnGroups(1).Rows.Add(New GridViewColumnGroupRow()) view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCMasonry") view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCSteel") view.ColumnGroups(1).Rows(0).ColumnNames.Add("WCOther") .ViewDefinition = view