for Grid
- [Parameter]
- public string ColumnClass { get; set; } // class for column element - only applicable to Grid format
+ [Parameter]
+ public string ColumnClass { get; set; } // class for column element - only applicable to Grid format
- [Parameter]
- public Action
OnPageChange { get; set; } // a method to be executed in the calling component when the page changes
+ [Parameter]
+ public Action OnPageChange { get; set; } // a method to be executed in the calling component when the page changes
- private IEnumerable ItemList { get; set; }
+ private IEnumerable ItemList { get; set; }
- protected override void OnParametersSet()
- {
+ protected override void OnInitialized()
+ {
+ Localizer = LocalizerFactory.Create(GetType().FullName);
+ }
+
+ protected override void OnParametersSet()
+ {
if (string.IsNullOrEmpty(Format))
{
Format = "Table";