Completed
Last Updated: 15 Apr 2021 12:11 by ADMIN
Release LIB 2021.1.419 (19/04/2021)
Martin Ivanov
Created on: 29 Mar 2021 06:56
Category: PivotGrid
Type: Bug Report
0
PivotGrid: DateTime picker inputs in label filter dialog are clipped when selected operator is between

If you open a label filter dialog from the RadPivotFieldList control for a DateTime field and choose the "is between" or "is not between" operator from the combobox, you will notice that the RadDateTimePicker controls used to filter the dates very small. In this case, the empty value placeholder is clipped and if you choose any dates they are clipped too.

To work this around, you can increase the dialog's width when it opens. You can do this with the RoutedDialogEvents.RequestDialog event.

public MainWindow()
{
	InitializeComponent();
	pivotFieldList.AddHandler(RoutedDialogEvents.RequestDialog, new EventHandler<DialogHostingRequestEventArgs>(this.OnDialogHostRequested), true);
}

private void OnDialogHostRequested(object sender, DialogHostingRequestEventArgs e)
{
	var labelDialog = e.DialogInfo.Content as LabelFilterDialog;
	if (labelDialog != null)
	{
		var w = labelDialog.ParentOfType<RadWindow>();
		w.Width = 500;
	}
} 

0 comments