|  | @@ -101,6 +101,31 @@ public abstract class DynamicGridEditorColumn<TEntity, TEditor, TColumn> : IDyna
 | 
	
		
			
				|  |  |                  ? TextAlignment.Center
 | 
	
		
			
				|  |  |                  : TextAlignment.Right;
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +    protected HorizontalAlignment GetHorizontalAlignment(TEditor editor) => Definition?.Alignment == Alignment.NotSet
 | 
	
		
			
				|  |  | +        ? editor is NumericEditor ? HorizontalAlignment.Right : HorizontalAlignment.Left
 | 
	
		
			
				|  |  | +        : Definition?.Alignment == Alignment.BottomLeft || 
 | 
	
		
			
				|  |  | +          Definition?.Alignment == Alignment.MiddleLeft || 
 | 
	
		
			
				|  |  | +          Definition?.Alignment == Alignment.TopLeft
 | 
	
		
			
				|  |  | +            ? HorizontalAlignment.Left
 | 
	
		
			
				|  |  | +            : Definition?.Alignment == Alignment.BottomCenter ||
 | 
	
		
			
				|  |  | +              Definition?.Alignment == Alignment.MiddleCenter ||
 | 
	
		
			
				|  |  | +              Definition?.Alignment == Alignment.TopCenter
 | 
	
		
			
				|  |  | +                ? HorizontalAlignment.Center
 | 
	
		
			
				|  |  | +                : HorizontalAlignment.Right;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    protected VerticalAlignment GetVerticalAlignment(TEditor editor) => Definition?.Alignment == Alignment.NotSet
 | 
	
		
			
				|  |  | +        ? VerticalAlignment.Center
 | 
	
		
			
				|  |  | +        : Definition?.Alignment == Alignment.TopLeft ||
 | 
	
		
			
				|  |  | +          Definition?.Alignment == Alignment.TopCenter ||
 | 
	
		
			
				|  |  | +          Definition?.Alignment == Alignment.TopRight
 | 
	
		
			
				|  |  | +            ? VerticalAlignment.Top
 | 
	
		
			
				|  |  | +            : Definition?.Alignment == Alignment.MiddleLeft ||
 | 
	
		
			
				|  |  | +              Definition?.Alignment == Alignment.MiddleCenter ||
 | 
	
		
			
				|  |  | +              Definition?.Alignment == Alignment.MiddleRight
 | 
	
		
			
				|  |  | +                ? VerticalAlignment.Center
 | 
	
		
			
				|  |  | +                : VerticalAlignment.Bottom;
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  |      private void DoConfigure(TColumn column, TEditor editor)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          Configure(column,editor);
 | 
	
	
		
			
				|  | @@ -117,11 +142,7 @@ public abstract class DynamicGridEditorColumn<TEntity, TEditor, TColumn> : IDyna
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Column.TextAlignment = GetTextAlignment(editor);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        Column.HorizontalHeaderContentAlignment = Column.TextAlignment == TextAlignment.Left
 | 
	
		
			
				|  |  | -            ? HorizontalAlignment.Left
 | 
	
		
			
				|  |  | -            : Column.TextAlignment == TextAlignment.Center
 | 
	
		
			
				|  |  | -                ? HorizontalAlignment.Center
 | 
	
		
			
				|  |  | -                : HorizontalAlignment.Right;
 | 
	
		
			
				|  |  | +        Column.HorizontalHeaderContentAlignment = GetHorizontalAlignment(editor);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      
 |