RadDataForm - customize visual layout

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    39 posts
    Member since:
    Jun 2013

    Posted 12 Nov 2013 Link to this post

    Is it possible to change the "layout" of the RadDataForm (for instance, maybe generate 2 columns of property/value pairs instead of just 1)?  I know I can create any layout I want by providing custom ReadOnly / NewItem / and Edit templates.  However, in order to do that, I'd need to design specific templates for each DB table I want to work with (and there are many). 

    While I may get to that at some point, for now I'd like to simply work with the auto-generated layout, except that I'd like it to better utilize the available screen space.  With the current format (only 1 property/value pair per row), I sometimes end up with a list of items that needs to be vertically scrolled, while I have *lots* of horizontal screen width being wasted.  I'd prefer to place multiple property/value pairs in a single row to better use the horizontal space and eliminate the vertical scrolling where possible.

    Is this possible without creating custom templates for each edited table?

    Jeff
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Nov 2013 Link to this post

    Hello Jeff,

    Basically what we can suggest as to DataTemplate Selectors is explained in our online documentation

    As to customizing the visual elements and the default layout, you can edit the template of the control and introduce any changes you would like to. Please check this help article.
     

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jeff
    Jeff avatar
    39 posts
    Member since:
    Jun 2013

    Posted 15 Nov 2013 Link to this post

    Thanks for the info and the links - though I've already read the mentioned docs.  As stated in my original question, I just wondered if there might be a way to simply "flow" the auto-generated layout into multiple columns - *without* the need to create a completely custom template. I sort of assumed that would not be the case and I gather from your response that it is not.  It might be a nice enhancement though - the ability to specify some simple flow guidelines for the auto-generated format (# of columns, flow direction, etc).

    Anyway, I think you've answered my question - thanks.

    Jeff
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Nov 2013 Link to this post

    Hello,

    Thank you for your feedback. 

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top