I have a details veiw and when you open it there are far too many fields so it ends up disappearing off the screen. I would like to split the view into two columns, and I tried to add a DIV with css class halfaway down the details view but it dosen't like
divs being there. Is there a way round it? You can do it with FormView but i prefer DetailsView
DetailsView renders to table with tr and td. It will make a new tr for each field. Not easy to make two columns in that. It was made for ease of use for standard cases. Yours is not standard, and doesn't fit.
Superguppie.
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
When all you've got is a Hammer, Every Problem looks like a Nail. Michael Swain.
jtownson
Member
9 Points
60 Posts
Details View - Too many fields - is it possible to split the fields into two columns?
Aug 16, 2010 03:28 PM|LINK
Hi
I have a details veiw and when you open it there are far too many fields so it ends up disappearing off the screen. I would like to split the view into two columns, and I tried to add a DIV with css class halfaway down the details view but it dosen't like divs being there. Is there a way round it? You can do it with FormView but i prefer DetailsView
Thanks
vik20000in
All-Star
25882 Points
3993 Posts
MVP
Re: Details View - Too many fields - is it possible to split the fields into two columns?
Aug 16, 2010 03:50 PM|LINK
convert the detailsview to template column and then arrange the columns with the help of table or div.
www.vikramlakhotia.com
Please mark the answer if it helped you
jtownson
Member
9 Points
60 Posts
Re: Details View - Too many fields - is it possible to split the fields into two columns?
Aug 16, 2010 07:37 PM|LINK
Thanks Vikram but how do i do that? Do i convert each field to a template field or is there a quicker way of doing the whole lot?
superguppie
All-Star
48225 Points
8679 Posts
Re: Details View - Too many fields - is it possible to split the fields into two columns?
Aug 17, 2010 09:34 AM|LINK
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
When all you've got is a Hammer, Every Problem looks like a Nail. Michael Swain.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Details View - Too many fields - is it possible to split the fields into two columns?
Aug 19, 2010 01:46 AM|LINK
If you're really have too many fields,you can put it into a panel so as to let it have a scrollable bar in horizonal or vertical.
Another way is to add a style to the detailsView:
style="overflow:auto;height:expression(document.body.offsetHeight-X);width:expression(document.body.offsetWidth-X)"