Hi,
I discovered a new issue in the last version of components.
let me show your part of code. (I really cannot provide sample, I have no time for this, I can patch this myself, but perhaps this will help someone)
RadGridView properties in designer code file :
RadGridView columns definition (pRadGridView is RadGridView_Object) :
Ok, run this and what appends....
The first issue is that the two header rows are not displayed, only the first one.
Anyway, just click on first DataRow, the second Header row is diplayed but First DataRow is behind... Wow
So, the only one solution for me, was to set this.RadGridView_Object.AutoSizeRows = false;
hope this will help.
Best regards
EDIT : this issue is for ViewDefinitions and not only Html one. Sorry.
see bug on : Image
I discovered a new issue in the last version of components.
let me show your part of code. (I really cannot provide sample, I have no time for this, I can patch this myself, but perhaps this will help someone)
RadGridView properties in designer code file :
this.RadGridView_Object.AutoSize = true; |
this.RadGridView_Object.MasterGridViewTemplate.AllowAddNewRow = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowCellContextMenu = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnChooser = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnHeaderContextMenu = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnReorder = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowDeleteRow = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowDragToGroup = false; |
this.RadGridView_Object.MasterGridViewTemplate.AllowRowResize = false; |
this.RadGridView_Object.MasterGridViewTemplate.AutoExpandGroups = true; |
this.RadGridView_Object.MasterGridViewTemplate.EnableSorting = false; |
this.RadGridView_Object.MasterGridViewTemplate.ShowFilteringRow = false; |
this.RadGridView_Object.MasterGridViewTemplate.ShowRowHeaderColumn = false; |
this.RadGridView_Object.ShowGroupPanel = false; this.RadGridView_Object.AutoSizeRows = true; |
RadGridView columns definition (pRadGridView is RadGridView_Object) :
// Start update | |
pRadGridView.GridElement.BeginUpdate(); | |
// Erase content | |
pRadGridView.MasterGridViewTemplate.AutoGenerateColumns = false; | |
pRadGridView.DataSource = null; | |
pRadGridView.MasterGridViewTemplate.Rows.Clear(); | |
pRadGridView.MasterGridViewTemplate.Columns.Clear(); | |
#region Add columns | |
#region Special Column for colorization | |
GridViewDataColumn Colorization_Column = new GridViewDataColumn("Colorization", "Colorization"); | |
Colorization_Column.IsVisible = false; | |
Colorization_Column.HeaderText = "Colorization"; | |
pRadGridView.MasterGridViewTemplate.Columns.Add(Colorization_Column); | |
#endregion | |
/// ADD SOME OTHER COLUMNS | |
#endregion | |
#region Add Group View Definition | |
ColumnGroupsViewDefinition _ColumnGroupsViewDefinition = new ColumnGroupsViewDefinition(); | |
/// Add colums groups, some columns, two lines | |
pRadGridView.ViewDefinition = _ColumnGroupsViewDefinition; | |
#endregion | |
#region Databind | |
foreach(Object item in ListOfObject) | |
{ | |
GridViewDataRowInfo row = pRadGridView.MasterGridViewTemplate.Rows.AddNew(); | |
row.Cells["col1"].Value = item.value1; | |
// and others | |
} | |
#endregion | |
// End of update | |
pRadGridView.GridElement.EndUpdate(); | |
// Best fit columns | |
pRadGridView.MasterGridViewTemplate.BestFitColumns(); |
Ok, run this and what appends....
The first issue is that the two header rows are not displayed, only the first one.
Anyway, just click on first DataRow, the second Header row is diplayed but First DataRow is behind... Wow
So, the only one solution for me, was to set this.RadGridView_Object.AutoSizeRows = false;
hope this will help.
Best regards
EDIT : this issue is for ViewDefinitions and not only Html one. Sorry.
see bug on : Image