Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

fixed headers with heirachacal data?

Last post 09-05-2008 8:17 by bjlarsen. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-28-2008 22:14

    • bjlarsen
    • Top 500 Contributor
    • Joined on 06-19-2008
    • Points 205

    fixed headers with heirachacal data?

    I have two grids that are exactly the same, except one contains data that is older, and it includes heirarchical data (band[1]).

     

    I have this in the initializelayout of both grids

     

    protected void uwg_NoFutureApts_InitializeLayout(object sender, Infragistics.WebUI.UltraWebGrid.LayoutEventArgs e)
            {
                uwg_NoFutureApts.Bands[0].Columns[0].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[1].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[2].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[3].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[4].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[5].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[6].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[7].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[8].Header.Fixed = true;
                uwg_NoFutureApts.Bands[0].Columns[9].Header.Fixed = true;

                uwg_NoFutureApts.Bands[1].Columns[0].Header.Fixed = true;
                uwg_NoFutureApts.Bands[1].Columns[1].Header.Fixed = true;
                uwg_NoFutureApts.Bands[1].Columns[2].Header.Fixed = true;
                uwg_NoFutureApts.Bands[1].Columns[3].Header.Fixed = true;
                uwg_NoFutureApts.Bands[1].Columns[4].Header.Fixed = true;

            }

     

    it is working fine for the grid without the child data, but for this grid, neither set of headers are fixed?  Is it not possible with child data?  if so, what am i doing wrong here?

     

    thanx for any help.

    • Post Points: 20
  • 09-05-2008 6:39 In reply to

    Re: fixed headers with heirachacal data?

    Normal 0 21 false false false BG X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

    Hello,

    I am trying to reproduce the issue, unfortunately to no avail... all columns are fixed. I use version=8.2.20082.1000, maybe you are not set the property  UltraWebGrid1.DisplayLayout.UseFixedHeaders = true;

    What am I missing?

     
    Best Regards,
    Ivan Baev
    The Infragistics ASP.NET Team
    • Post Points: 20
  • 09-05-2008 8:17 In reply to

    • bjlarsen
    • Top 500 Contributor
    • Joined on 06-19-2008
    • Points 205

    Re: fixed headers with heirachacal data?

    well,

    for starters, my initilializelayout event never fires.  I have the same problem as here(http://forums.infragistics.com/forums/p/12383/46220.aspx#46220)  i would be interested to know if you do infact have the WHDS as the ds and your initializelayout event fires, as there are at least two other instances besides mine where that isn't the case.  http://news.infragistics.com/forums/p/12391/46354.aspx#46354

    If yours does, I would like to try to figure out why our instances do not, as this is a critical portion of my project right now.

    side:  if there is a different way of fixing the headers of the child rows (they do not show up in the "edit bands and columns" in my IDE) b/c they are from the WHDS, so I can't just turn them on there.  That being said, I am still a ig newb, and may not know something obvious here.  So all hints at accomplishing my goal are appreciated.

    thanx

    • Post Points: 5
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems