This is a migrated thread and some comments may be shown as answers.

Adding a date column

1 Answer 46 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 15 Aug 2016, 08:11 AM

Hi I have added a date column using 

         // Add a new column for the date
                GridTemplateColumn gridTemplateColumn1 = new GridTemplateColumn();
                gridTemplateColumn1.HeaderText = "Creation Date";
                gridTemplateColumn1.SortExpression = "Date";
                gridTemplateColumn1.UniqueName = "Date";
                gridTemplateColumn1.DataField = "Date";
                RadFileExplorer1.Grid.Columns.Add(gridTemplateColumn1);

 

But i cant see how to populate the column. 

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 15 Aug 2016, 10:12 AM
Hi Paul,

The data populated in a custom column in the FileExplorer's Grid should be passed in the control's custom content provider like demonstrated here:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/customgridcolumns/defaultcs.aspx


Regards,
Vessy
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
FileExplorer
Asked by
Paul
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or