2 posts, 1 answers
  1. Janusz Oldakowski
    Janusz Oldakowski  avatar
    6 posts
    Member since:
    Nov 2008

    Posted 31 Aug 2010 Link to this post

    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.
  2. Answer
    Victor avatar
    1349 posts

    Posted 02 Sep 2010 Link to this post

    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.
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top