Hi,
I am currently using the NetAdvantage 2008 UltraWebGrid. I have altered the grid, so that it doesn't display scrollbars, but rather, adjusts it's size according to the browser (and displays scrollbars appropriately). This was quite simple:
UltraWebGrid1.Width = Unit.Empty;
UltraWebGrid1.Height = Unit.Empty;
The problem is that the grid header isn't fixed. I actually need to create a fixed, multi-line header. Is it possible to do this under the circumstances detailed above.
Thanks!
Did you ever find a solution for keeping the headers visible by using browser's scrollbar for the grid. I am looking for something similar.
Thanks!!
I know its an older post but for anyone out there still searching for answers.
-
Private
Sub grdMain_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles grdMain.InitializeLayout
grdMain.DisplayLayout.StationaryMargins = Infragistics.WebUI.UltraWebGrid.StationaryMargins.Header
This will make the headers fixed as well. Maybe not exactly what they were looking for but this is where I began my search for UltraWebGrid fixed headers. One line of code.
On s second thought (although you might want to try all the options above) - I remember seeing similar problems reported recently - I think in cases like that it is best to contact Developer Support directly, since this might be something that we might not be able to address in public peer-to-peer forums.
Developer Support can be reached here:
http://ko.infragistics.com/Support/default.aspx#Overview
Hello,
I have some question / suggestion that may help figure out the source of the problem:
1. So is it possible the you are not initalliy binding the grid with data at all and only binding after initial data?
2. Or, alternativaly, if you select "View Source" in your browser, do you see the HTML of the grid (with data) as it should be even though it appears invisible on the screen?
3. Which version are you using? Can you try with the latest 8.3 release?
I am having a different problem with the grid column fix. I am able to fix the first column horizontally and all the column headers vertically.
<Columns>
<igtbl:UltraGridColumn BaseColumnName="InvNmbr" IsBound="True" Key="InvNmbr">
<Header Caption="EFS Txn/Argo Res Id" Fixed="true" FixedHeaderIndicator="Button">
</Header>
</igtbl:UltraGridColumn>
<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnClient" StationaryMargins="Header" AllowSortingDefault="OnClient" HeaderClickActionDefault="SortSingle" Name="UltraWebGrid1" SelectTypeRowDefault="Extended" RowHeightDefault="20px" ColWidthDefault="" Version="4.00" LoadOnDemand="Xml" TableLayout="Fixed" Pager-StyleMode="ComboBox" CellClickActionDefault="RowSelect" UseFixedHeaders="true">
But, the grid not displaying any rows though it is loaded with data and until I adjust the column size manually a bit or perform an action.
I am using CSLA Business object 2.1 and loading the grid ver 8.2 CLR 2.0 with OnSelectObject of the csla:Datasource