Removing columns from the Download List table view template

Posted by Community Admin on 03-Aug-2018 18:18

Removing columns from the Download List table view template

All Replies

Posted by Community Admin on 22-Nov-2013 00:00

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.

TIA

Posted by Community Admin on 27-Nov-2013 00:00

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"/>
              </div>
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.

Regards,
Ivan D. Dimitrov
Telerik
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

This thread is closed