I was trying to hide the headers of the UltraGrid Band[1], which should be easy task, by doing this
ugData.DisplayLayout.Bands[1].HeaderVisible = false;
but it didnt work, then i found this at the forum
ugData.DisplayLayout.Bands[1].ColHeadersVisible = false;
which did work.
as a developer i am trying to understand the logic of everything thus to learn from every expiriance, so i asked my self what is the difference of HeaderVisible and ColHeadersVisible properties.
so i found this :
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v11.2~Infragistics.Win.UltraWinGrid.UltraGridBand~HeaderVisible.html
and it says
// You can also show the band header which by default is hidden by setting // the HeaderVisible property to true. band.HeaderVisible = true;
after reading this it was obviuse now, Band Header is the band name as a header above the whole band. which is different then a Column header.
so searching google for "hide band headers" was incorrect and it should be "hide column headers"
just if anyone was wondring the same as i did :)
Hello Sharik,
Thank you for sharing your experience with the Infragistics Community.
If you are having any difficulties while using our products please do not hesitate to contact us.
Hi,
I am new to this website but seen many blogs regarding infragistics controls. So I am interested to create an account.
I have a requirement to display dropdown column in ultra grid, which is easy but that column should not be editable if data exists. And we are adding a new column after data populated in that new column only dropdown should be enabled and able to select data.
Once data selected, dropdown column should be ready only and appropriate data will be populated for all other columns and a new row will be added with dropdown column editable.
Can anyone help on this? Its a bit urgent.