fingers10 / JqueryDataTablesServerSide

Asp.Net Core Server Side for Jquery DataTables Multiple Column Filtering and Sorting with Pagination and Excel Export
MIT License
227 stars 37 forks source link

[QUESTION] How To localizate the name of Coloumns #63

Open walteriermano opened 3 years ago

walteriermano commented 3 years ago

Hi , i have all localized but remain only the problem how to :

1) Localize the name of columns , i have tried in this way but not works [JqueryDataTableColumn(Order = 2)] [IncludeInReport(Order = 2)] [SearchableString(EntityProperty = "Name")] [Sortable(EntityProperty = "Name")] [Display(ResourceType = typeof(Resources.DataAnnotations), Name = nameof(Resources.DataAnnotations.Name))] public string Name { get; set; }

2) the same issue i have when i export to Excel , the name of title of column not is localized

Thanks