More in this section

Forums / General Discussions / Removing columns from the Download List table view template

Removing columns from the Download List table view template

2 posts, 0 answered
  1. John
    John avatar
    51 posts
    11 Apr 2013
    22 Nov 2013
    Link to this post
    What is the proper way to remove a column from the default template of the Download List Table View template?
    i.e. I am showing the filetype icon so it is redundent to show the file type text or I don't want to show the size column.

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    26 Mar 2015
    27 Nov 2013
    Link to this post
    Hi John,
    Thank you for using our products.

    The functionality you require is fairly easy to achieve. Simply click edit on the Downloads list widget, click on Settings->Edit thumbnail list template. The lines you need to remove in order to get the desired result are the following:
    <div class="sfMetaInfo">
                      <sitefinity:SitefinityLabel id="infoLabel" runat="server" WrapperTagName="span" HideIfNoText="false" CssClass="sfInfo" />
                      <comments:CommentsCountControl runat="server" ThreadKey='<%# ControlUtilities.GetLocalizedKey(Eval("Id")) %>' ThreadType='<%# Container.DataItem.GetType().FullName %>' DisplayMode="ShortText"/>
    Where the first is the size and the second is the file type.

    I hope you find this information useful. Feel free to contact us if there's need.

    Ivan D. Dimitrov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered