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
405
Row Edit Template - Display Parent Column info
posted

Hi, 

I have a multi band ultrawingrid with 2 band levels. Each of the bands have their own row edit template. I want to display a few of the parent row's columns in the child row's template. When i was trying this out with the grid being populated using an ultradatasource it worked fine.

But when i changed the data source to a bindinglist of objects, I am not able to see the parent column displayed in the child row edit template. I have no idea why this is happening.

A few things i considered but ruled out were-

1. I had to rename the child band from "band 1" to "name of the public property of my object". The child RET's bindingkey is set correctly to the new name. And the columns in question are referring to the parent band which is still "Band 0" everywhere

2. I had set the data source of the grid using the following syntax -

Me.ugVersion.SetDataBinding(Me.contentVersions, Nothing, True, True) 

where i'm setting hidenewcolumns and hidenewbands to true. I changed these to false and it still didnt work

Any help would be great! I'm at my wits end here. Does this work only when using an ultradatasource? will it not work when the grid is populated using a binding list????

Thanks,

Karthik