开发者

How to - each RadComboBox in column inside RadGridView with unique data?

Here is what I want to achieve:

I have RadGridView, let's call it gridView, with two columns - first contains ordinary text (GridViewDataColumn), second is a GridViewComboBoxColumn. Each row consist of property (first column) and possible values (displayed in comboBox in second column) which vary for each property. For example:

Property: border

Possible values: solid, dash

Property: font-family

Possible values: arial, times new roman

The problem is that I can set data source for whole column but not for individual Combo开发者_StackOverflow中文版Boxes - or at least I don't know these controls good enough.

Data is bound correctly, but the only thing missing is separate data source for each comboBox. How to achieve that?

I'm using Silverlight 4, Telerik controls Q1 2010 SP2


Vlad's comment contained solution to problem:

You can use GridViewComboBoxColumn ItemsSourceBinding to achieve this - different source for each combo.
Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜