6 Answers, 1 is accepted
Generally, each column requires a DataMemberBinding, not defining an ItemsSource (an exception is the GridViewComboBoxColumn, which need a source collection). Consequently, you cannot specify a source for each column, but on the RadGridView.
So, in order to provide you with a more detailed solution, I would need a bit more information about your exact scenario and settings. Is it not appropriate to gather the two collections into one and set it as ItemsSource of the grid ?
Maya
the Telerik team
I'm looking for this type of solution as well. I have a radGridView with two columns Property and Value. I'd like to bind the Property column as a read only list of table fields. Then I'd like to match the table fields to the table data in the value column. In addition some but not all of the value fields should be read only. Also, it would be nice if I could display a drop down grid that contains a bound object for example the attributes of Type. In this example Type is related to original object and rather than just displaying a single bound value it would be nice to display the full attributes of the related item.
Example:
Property Value
MyID 1
Name asdf
Type mytype
> > > >
Property Value
Type.Name asdf
Type.attribute1 asdf
etc...
Your description makes me believe you need a RadPropertyGrid.
Kind regards,
Pavel Pavlov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Please take a look at our online documentation for additional reference on the RadPropertyGrid control. Considering hiding the DescriptionPanel, you may set the DescriptionPanelVisibility property of the RadPropertyGrid to "Collapsed".
Maya
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Thank you for responding to my post. Yes, I have looked at the online documentation. However, as I mentioned in my previous post there really isn't much there. Would it be possible to provide an example oh how to implement the property grid in the manner I've described in the thread above in this topic?
As for the DescriptionPanel there is another thread that discuss it's visibility in more detail.
Sincerely, Greg