Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
760
Column Header Being Shown Mulitple Times
posted

Hello,

I have been working on the ultradata grid and I have basically hand stiched everything together to get it working. I currently have two bands for this grid. Upon dragging an object on the parent band, I create a row in the child band which renders directly below its parent.

My problem is when I add a child row to each parent row the column header of the grid re-renders itself right below the child row that was just added. My best guess is maybe this has something to do with using a creationFilter (class that implements

IUIElementCreationFilter )

 

 

 

 but I have no idea how to solve this problem. Any help is much much appreciated!

 

  • 53790
    Verified Answer
    posted

    Hello RichSee,

    I`m not sure that I understand well your issue, but maybe you are looking for the property:
    this.ultraGrid1.DisplayLayout.Override.HeaderPlacement = Infragistics.Win.UltraWinGrid.HeaderPlacement.FixedOnTop;

    Please let me know if you think that I misunderstood your case or if you have any questions.
    Regards

  • 760
    Offline posted in reply to Mike Saltzman
  • 469350
    Offline posted

    Hi,

    There's not really enough information here for me to guess what's happening.

    Can you post a screen shot showing what the problem is? You can go to the Options tab when posting and attach an image file there and it will show up in your post.

    I don't think it's likely that a CreationFilter would cause something like this, but it's possible. The easiest way to find out would be for you to comment out the line of code that sets the CreationFilter property on the grid and see if the problem still occurs.

    If it is the CreationFilter causing the problem, then maybe you could post your CreationFilter code here so I can take a look at it and see if there is anything obviously wrong with it.