Try Now
More in this section

Forums / Developing with Sitefinity / Customizing backoffice grids for synamic content

Customizing backoffice grids for synamic content

2 posts, 0 answered
  1. Alessio S.
    Alessio S. avatar
    37 posts
    31 May 2010
    20 Nov 2014
    Link to this post

    I need to add custom functionality to the backoffice pages which manage dynamic content types I've defined in a dynamic module but I cannot find any documentation on such grids nor any previous topics in this forum. What I need to do is:

    - Adding custom columns, e.g. a column with a direct link to a related document, or a column displaying the tags applied to the item.
    - Removing some of the default columns which cannot be normally removed by the module editor, such as the columns "Title", "Actions" and "Pubblication data".
    - Make the grid sortable by clicking on colum headers or add custom sorting options in the sorting dropdown box on top of the grid.
    - Add custom filters and other links in the in the right side area of the grid (the one with the category filters and the link to settings and recycle bin).

    I also need to add buttons which interact with the grid's displayed content, e.g. a button to export the currently displayed items to as Excel file.

    Do these functions require Sitefinity Thunder or is it possible to just replace the grid with a custom UserControl so I can configure an ordinary RadGridView at will? Is there any example available of this approach?

    Thank you,
    Alessio S.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    26 Oct 2016
    25 Nov 2014
    Link to this post
    Hello Alessio,

    What I can suggest is to refer to the following blog post describing in details how you can show the selected taxa in Sitefinity module items' backend grid and also how to add custom columns. Please also check the attached video demonstrating where you can find all the settings for the backend grid and to add columns.

    Please note that we do not recommend deleting the default columns - for example the Title column - since we use this column as an identifier of the item so that we can open it in edit mode on click.

    Regarding your question about sorting the backend grid by clicking on a column, please note that currently there is no option available to sort backend grid directly. The only option available for now is to use the sorting dropdown where you can sort by date, title and custom fields. Please refer to the attached screenshot (SortItemsInBackendGrid.png). In addition to this, you may also take a look at the following blog post and the forum thread for more details related to sorting dynamic and content items.

    Regarding the export functionality, please refer to the following article and checkout the Export content items created with the dynamic module section for more details on this matter. 

    Sabrie Nedzhip
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered