Unplanned
Last Updated: 22 Apr 2024 10:30 by ADMIN

Hello, I tried to implement the sample application from your docs. (https://docs.telerik.com/devtools/winui/controls/raddatagrid/row-details)

But it seems to be not working, the detail area is not displayed completely. Only one column.

I have a similar behavior on another application.

Details:

  • .NET 7
  • Windows 11 Pro Version 23H2 (22631.3155)
  • Telerik WinUI 2.9.0

Unplanned
Last Updated: 11 Mar 2024 09:07 by ADMIN
Created by: Stenly
Comments: 2
Category: NumericBox
Type: Bug Report
1
The RadNumericBox control does not accept decimal values.
Unplanned
Last Updated: 11 Mar 2024 09:04 by ADMIN
Created by: Stenly
Comments: 2
Category: NumericBox
Type: Bug Report
1
The RadNumericBox control prevents the user from inputting negative values.
Unplanned
Last Updated: 15 Feb 2024 15:34 by Martin Ivanov

The field filters in the DataGridNumericalFilterControl of DataGridNumericalColumn are using RadNumericBox controls for the input visuals. By default RadNumericBox is limited to values between 0 and 100, which means you cannot enter values outside of this range.

To work this around, you can re-template the DataGridNumericalFilterControl in order to set the Minimum and Maximum properties of the RadNumericBox element to NaN.

<Application
    x:Class="App3.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App3" xmlns:telerikDataGrid="using:Telerik.UI.Xaml.Controls.Grid.Primitives" xmlns:telerikInput="using:Telerik.UI.Xaml.Controls.Input">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <ResourceDictionary Source="ms-appx:///Telerik.WinUI.Controls/Themes/Generic.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <Style TargetType="telerikDataGrid:DataGridNumericalFilterControl">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="telerikDataGrid:DataGridNumericalFilterControl">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <ComboBox x:Name="PART_OperatorCombo"
                                          HorizontalAlignment="Stretch"
                                          ItemsSource="{Binding OperatorsList}"
                                          SelectedItem="{Binding FilterDescriptor.Operator, Mode=TwoWay, Converter={StaticResource FilterOperatorConverter}}"
                                          DisplayMemberPath="DisplayText">
                                </ComboBox>
                                <telerikInput:RadNumericBox x:Name="PART_ValueBox"
                                                            Minimum="NaN"
                                                            Maximum="NaN"
                                              HorizontalAlignment="Stretch"
                                              Value="{Binding FilterDescriptor.Value, Mode=TwoWay}"
                                              Grid.Row="1" Margin="0 10 0 0"/>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Unplanned
Last Updated: 07 Feb 2024 11:21 by Martin Ivanov

Dynamically changing the Header of a RadDataGrid column is clearing the header visual's content. This means that you no longer see the header. To reproduce this the SizeMode of the column should be set to Fixed.

To work this around, instead of changing the Header of the column, you can assign the Header initially to a visual element - like TextBox - and change its content (like the Text property). Or alternatively, avoid the Fixed SizeMode.

Unplanned
Last Updated: 26 Jan 2024 14:32 by Martin Ivanov
A memory leak occurs and the memory constantly increases each time the ItemsSource of the RadCartesianChart's series is set to another collection.
Unplanned
Last Updated: 16 Jan 2024 11:22 by Mike
Reordering columns via drag and drop throws an exception.
Unplanned
Last Updated: 02 Jan 2024 11:32 by Stenly
Created by: Stenly
Comments: 0
Category: Map
Type: Bug Report
1

Exception is raised when zooming is performed.

Unplanned
Last Updated: 21 Sep 2023 15:07 by Martin Ivanov
This can be reproduced if you place a ComboBox in the RowDetailsTemplate which selection is bound to a property of the data row's model. Changing the selection in the ComboBox for one row and then expanding another row, will set the selection property of the previous row model to the value from the new model.
Unplanned
Last Updated: 18 Sep 2023 16:27 by Rick

Hi friends,

 

  my custom tooltips never work on the first bar only of the BarSeries, here is a simple example showing this behavior.  There is important data for me in that column, so let's hope it's possible to resolve this.  Many thanks!

Unplanned
Last Updated: 13 Sep 2023 15:01 by Martin Ivanov

Remove the space reserved for the sort indicator in the column header, when CanUserSort is False and therefore the sort indicator is not displayed. The current behavior prevents the user to easily center the header text.

To work this around, you can edit the ControlTemplate of DataGridColumnHeader. In the template, you can update the Visibility of the TextBlock with x:Name set to "SortIndicator" when CanUserSort is False.

Unplanned
Last Updated: 05 Sep 2023 15:03 by Martin Ivanov
If you change the current date and then click on the time segment of the control that allows you to select the time, the date segment is lost. The opposacite is true also - the selected time is lost if you click in the date segment.
To set the correct DateTime, you should first select the date or time, click OK, open the drop down again, select the other component (date or time) and click OK again.
Unplanned
Last Updated: 12 Apr 2023 06:01 by Martin Ivanov
The length of the LinearBarGaugeIndicator visual (representing the featured measure) is wrong when the RadBulletGraph is hosted in a RadDataGrid cell (via the DataGridTemplateColumn).
Unplanned
Last Updated: 30 Nov 2022 15:42 by Martin Ivanov

Setting the MaxValue, MinValue and Value properties at runtime doesn't work when the settings are done in the Opened event handler of RadDatePicker. The DateTime values of the properties are updated as expected, but this is not reflected in the UI.

To work this around, you can use the Click event of the internal DateTimePickerButton, instead of the Opened event.

private void DatePicker_Loaded(object sender, RoutedEventArgs e)
{
	var btn = this.datePicker.FindChildByType<DateTimePickerButton>();
	btn.Click += Btn_Click;            
}

private void Btn_Click(object sender, RoutedEventArgs e)
{
	var vm = (MainViewModel)this.datePicker.DataContext;
	this.datePicker.MinValue = DateTime.Today;
}

Unplanned
Last Updated: 24 Oct 2022 15:49 by Petr

The group header row overlaps the column headers when scrolling to a column that is out of view upon previously resizing the window and the GroupHeaderDisplayMode is Frozen.

Unplanned
Last Updated: 24 Oct 2022 15:20 by Petr
Expanding the row details when the rows have variable heights offsets the scrollbar and brings the expanded row out of view.
Unplanned
Last Updated: 24 Oct 2022 14:24 by Petr
Created by: Petr
Comments: 0
Category: DataGrid
Type: Bug Report
1
Grouping on a touch device by dragging a group header to the group panel drop area results in the drag visual remaining at the drop location and no grouping being performed.
Unplanned
Last Updated: 20 Apr 2022 13:14 by Martin Ivanov

If you have already selected item(s) and then click on a new one to select it without holding Shift or Ctrl, the previous selection is cleared. This action should raise SelectionChanged with items in the RemovedItems collection of the event arguments. You can see this behavior in the native ListBox control. Also, this is how the RadDataGrid control is behaving in Single SelectionMode.

However, currently, if the SelectionMode is set to Extended, the RemovedItems collection doesn't contain any items.

 

 

Unplanned
Last Updated: 08 Apr 2022 10:44 by Martin Ivanov

If you use the DataGridComboBoxColumn or the DataGridTemplateColumn with a ComboBox in its template, you cannot open the drop down of the ComboBox when you click onto it. This reproduces only if you try to click on the arrow icon that opens the drop down or somewhere in the control where no text is presented. If you have already selected item and some text is displayed, you can click onto the text in order to open the drop down.

This reproduces also if the ComboBox is defined in the RowDetailsTemplate of the DataGrid.

To workaround this, you can subscribe to the Tapped event of  ComboBox control and set the Handled property of the event arguments to True. If you use the DataGridComboBoxColumn, you can create a custom class that derives from it and override its CreateEditorContentVisual method. This will allow you to get the ComboBox and subscribe to its event.

 

public class CustomComboBoxColumn : DataGridComboBoxColumn
{
	public override FrameworkElement CreateEditorContentVisual()
	{
		var comboBox = (ComboBox)base.CreateEditorContentVisual();
		comboBox.Unloaded += ComboBox_Unloaded;
		comboBox.Tapped += ComboBox_Tapped;
		return comboBox;
	}

	private void ComboBox_Unloaded(object sender, RoutedEventArgs e)
	{
		var comboBox = (ComboBox)sender;
		comboBox.Unloaded -= ComboBox_Unloaded;
		comboBox.Tapped -= ComboBox_Tapped;
	}

	private void ComboBox_Tapped(object sender, Microsoft.UI.Xaml.Input.TappedRoutedEventArgs e)
	{
		e.Handled = true;
	}
}