public ActionResult Index() { var config = new ListConfiguration(typeof(AuditLogListModel), new string[] { "UserName", "LogType", "Message" }); config.Fields.Insert(2, new ListFieldConfiguration("LogDateTime", "kendoDateTime") { ShowFilter = false }); config.HideNameColumn = true; config.InterfaceResourceType = typeof(Resources.Interface); return this.View(config); }
public ActionResult Index() { var config = new ListConfiguration(typeof(ErrorLogListModel), new string[] { "ExceptionType", "UserEmail" }); config.Fields.Insert(0, new ListFieldConfiguration("LogDateTime", "kendoDateTime") { ShowFilter = false }); config.Fields.Add(new ListFieldConfiguration("Message") { DisplayHtml = true }); config.HideNameColumn = true; config.InterfaceResourceType = typeof(Resources.Interface); return this.View(config); }