Geeks With Blogs

News

View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites


Anthony Trudeau

The Infragistics UltraGrid allows you to bind to hierarchical data.  However, I didn't get the results I was expecting when I called SetBinding with a band collection that I created at design time.  In my particular case the results of the child band included all of the columns from the child table.  I had expected only a small subset based on the child band I had defined.

The problem is that the Key property for the child band needs to be the name of the Relation and not the name of the DataTable.  Hopefully, this will help someone else out.

Posted on Tuesday, November 1, 2005 11:53 AM Infragistics , .NET | Back to top


Comments on this post: Tip on binding to hierarchical data in UltraGrid

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
I was pulling my hair out over this exact problem, many thanks for posting this!!
Left by John Legenhausen on Apr 05, 2006 12:02 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
You're welcome. I always like to hear when someone gets a solution from a tip I post.
Left by Anthony Trudeau on Apr 05, 2006 2:25 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
Fabulous!! I've been trying to figure this out for awhile now.
Left by Corey on Mar 09, 2007 2:10 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
ty very much. this worked for me too and this was the only place in my internet search which had the solution and i 2 was pulling out hair over it.
Left by markc on Aug 11, 2008 7:48 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
Man you just saved a lot of my time. I am using the 2006 version. The help file does not mention the key stuff at all.

I checked the most recent help on infragistics.com. The key problem is still missing.

It might be a bug or it might intentional omission by Infragistics. :)

The designer keeps killing the manual schema or moving it to child controls from time to time... especially it does weird stuff when inheritance is done from an abstract parent.

That's a bummer!


Well, Infragistics keeps the job security level high these hard crisis days :)

Left by Alex on Apr 10, 2009 12:04 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
im not able to bind the data to column in the data grid.please let meknow
Left by pepper on Aug 08, 2009 2:25 PM

# re: Tip on binding to hierarchical data in UltraGrid
Requesting Gravatar...
Thanks man. That helped out a lot.
Left by JC on Aug 05, 2013 11:59 AM

Your comment:
 (will show your gravatar)


Copyright © Anthony Trudeau | Powered by: GeeksWithBlogs.net