Hello,
if I am using percentage width of columns in an ultrawebgrid, the header does not appear above the scrollbar if there is one. Is there any way how to cover that area with the header if I do not want to use fixed size columns?
Thank you,
Jakub
(this problem seems to appear in IE8)
this is the version we are using:
UltraWebGrid.v11.1
Hi Jakub,
Please feel free to contact me if you are still experiencing any issues.
Thank you for your reply.
Please let me know which version of .NetAdvantage you are using in your project so that I can check for know issues and test the matter with an identical setup.
I do have explicitly set width. But it is in percent. If I set it in pixels it works ok. If I set it in percent it makes this weird error. Setting backcolor does not solve this.
Apologies for the delayed response.
I have researched the matter further and in my tests the behavior is manifested only when the grid does not have its width set. If you are not setting the width already I suggest that you try explicitly setting a value for that property in order to see if that makes a difference.
Alternatively, it may be possible to set the background color of the header row in order to make it "appear" above the scrollbar. This may be done using something similar to:
function UltraWebGrid1_InitializeLayoutHandler(gridName){ igtbl_getGridById("UltraWebGrid1").Rows.getHeaderRow().parentElement.parentElement.style.backgroundColor = "LightGray";}
which should not have any visible effect in any other browser different from IE8.
Hope this helps.