This is a migrated thread and some comments may be shown as answers.

RadDataForm - customize visual layout

3 Answers 52 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 12 Nov 2013, 05:39 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Nov 2013, 04:35 PM
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 >>
0
Jeff
Top achievements
Rank 1
answered on 15 Nov 2013, 10:28 PM
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
0
Dimitrina
Telerik team
answered on 19 Nov 2013, 07:54 AM
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 >>
Tags
DataForm
Asked by
Jeff
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or