This is a migrated thread and some comments may be shown as answers.
RadListControl
1 Answer 62 Views
This is a migrated thread and some comments may be shown as answers.
Janusz Oldakowski
Top achievements
Rank 1
Janusz Oldakowski asked on 31 Aug 2010, 02:51 PM
Is there a good example of showing how to customize items (visual appearance) of RadListControl or is there a better explanation then that provided in the help sections (DataRepresentation, Visual Data Representation and Customizing Items(Visual Appearance))?

Do I understand it correctly, that in order to customize this control, you would have to have a class that contains your business data, a CustomDataItem class that mimicking the business data class, and another CustomVisualItem class?

I believe that the purpose of the help is to explain how things work, and purpose of the example is to show how it works, not to confuse more, or to provide examples that do not flow from one to another, and have missing or wrong code.


Thanks in advance for any help.

1 Answer, 1 is accepted

Sort by
0
Accepted
Victor
Telerik team
answered on 02 Sep 2010, 05:41 PM
Hi Janusz Oldakowski,

Thank you for the questions.

You have understood correctly that you need two classes in order to be able to fully customize what data can be displayed in the visual list items. Consider the data items to be a projection of your core data and the visual items to simply be the visual representation of this projection. For example if you have 10 columns in your data table and you want to display only 4 of these columns you need a new data item, that will contain 4 properties that correspond to the columns and a new visual item that will be synchronized with these 4 properties by presenting them with appropriate UI widgets in the appropriate layout.

Please be more specific, which parts of the code example do you consider wrong and/or confusing and what part of it is missing? Your feedback will greatly be appreciated in resolving this misunderstanding.

I am looking forward to your reply.
 
Greetings,
Victor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Janusz Oldakowski
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or