Sharepoint list view customization

I want to customize the sharepoint list view... Columns are next to each other but I want them to be underneath each other How do I achieve this??

<ViewFields>
                           
                              <FieldRef Name="Attachments"/>
                              <FieldRef Name="LinkTitle"/>
                              <FieldRef Name="NewColumn1"/>
</ViewFields>


there are two columns above they appear next to each other how can I make them underneath each other I used table added table rows and colums but when I saved it goes to original look like above I could not use table how can I achieve this?
fatihdiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MsShadowCommented:
No time to test it here, but can't you create a new calculated column that is

TEXT(col1) + "<br/>" + TEXT(col2)
0
MsShadowCommented:
If people are nice enough to answer your questions, the least you can do is to validate their answer.
0
fatihdiAuthor Commented:
<WebPartPages:XsltListViewWebPart runat="server" Description="" ListDisplayName="" PartOrder="2" Default="TRUE" HelpLink="" AllowRemove="True" IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True" ExportControlledProperties="False" IsIncludedFilter="" DataSourceID="" Title="Fatih" ViewFlag="25165829" NoDefaultStyle="" AllowConnect="True" DisplayName="All Documents" PageType="PAGE_DEFAULTVIEW" FrameState="Normal" PageSize="-1" PartImageLarge="" AsyncRefresh="False" Dir="Default" DetailLink="/Fatih" ShowWithSampleData="False" ListId="226ed5bd-7bef-447e-92aa-8d237e967645" ListName="{226ED5BD-7BEF-447E-92AA-8D237E967645}" FrameType="Default" PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False" AllowEdit="True" ViewGuid="{CFC4C107-4D68-4944-9EEC-717A2A35B13D}" AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True" WebId="00000000-0000-0000-0000-000000000000" ViewContentTypeId="0x" InitialAsyncDataFetch="False" GhostedXslLink="main.xsl" MissingAssembly="Cannot import this Web Part." HelpMode="Modeless" ListUrl="" ID="g_cfc4c107_4d68_4944_9eec_717a2a35b13d" ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True" TitleUrl="/Fatih" ManualRefresh="False" __MarkupType="vsattributemarkup" __WebPartId="{CFC4C107-4D68-4944-9EEC-717A2A35B13D}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><ParameterBindings>
                  <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
                  <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
                  <ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
                  <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
                  <ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
                  <ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
                  <ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
                  <ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
                  <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
                  <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
            </ParameterBindings>
<XmlDefinition>
                  <View Name="{CFC4C107-4D68-4944-9EEC-717A2A35B13D}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Documents" Url="/Fatih/Forms/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
                        <Query>
                              <OrderBy>
                                    <FieldRef Name="FileLeafRef"/>
                              </OrderBy>
                        </Query>
                        <ViewFields>
                              <FieldRef Name="DocIcon"/>
                              <FieldRef Name="LinkFilename"/>
                              <FieldRef Name="Modified"/>
                              <FieldRef Name="Editor"/>
                              <FieldRef Name="Edit"/>
                              <FieldRef Name="LinkFilenameNoMenu"/>
                        </ViewFields>
                        <RowLimit Paged="TRUE">30</RowLimit>
                               TEXT(col1) + "<br/>" + TEXT(col2)
                        <Aggregations Value="Off"/>
                        <ViewStyle ID="14"/>
                        <Toolbar Type="Standard"/>
                  </View>
            </XmlDefinition>
<DataFields>
</DataFields>
</WebPartPages:XsltListViewWebPart>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nsc_techCommented:
Where is that you are putting this code?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.