Unplanned
Last Updated: 21 Apr 2022 10:32 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: DataGrid
Type: Feature Request
0
This is similar to the LoadingRow event in the DataGrid control from Microsoft's Toolkit or the RowLoaded event in RadGridView for WPF.
Unplanned
Last Updated: 21 Apr 2022 10:31 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: DataGrid
Type: Feature Request
0
Add drag/drop behavior for the rows. This will allow the user the drag and drop the data items inside the DataGrid or between different DataGrid instances.
Unplanned
Last Updated: 12 Apr 2022 11:18 by ADMIN
Created by: Stenly
Comments: 2
Category: DataGrid
Type: Feature Request
1
Add support for exporting the DataGrid's content to an Excel file.
Unplanned
Last Updated: 06 Apr 2022 20:48 by Martin Ivanov

Currently, the Save and Cancel words in the inline editor buttons are using hardcoded strings. Add LocalizationManager support in order to allow easier customization when translating the application.

In the meantime, you can achieve this effect by extracting the templates of the buttons and replace the hardoced text with LocalizationManager. 

<Application
    x:Class="TelerikWinUIApp7.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:localPrimitives="using:Telerik.UI.Xaml.Controls.Grid.Primitives"
     xmlns:primitivesCommon="using:Telerik.UI.Xaml.Controls.Primitives.Common"
    xmlns:core="using:Telerik.Core"
    xmlns:local="using:TelerikWinUIApp7">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <!-- Other merged dictionaries here -->
                <ResourceDictionary Source="ms-appx:///Telerik.WinUI.Controls/Themes/Generic.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <!-- Other app resources here -->
            <Style TargetType="localPrimitives:DataGridEditRow">
                <Setter Property="CommitButtonStyle">
                    <Setter.Value>
                        <Style TargetType="primitivesCommon:InlineButton" BasedOn="{StaticResource EditRowButtonBaseStyle}">
                            <Setter Property="BorderThickness" Value="1 1 0 1" />
                            <Setter Property="ContentTemplate">
                                <Setter.Value>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="&#xe73e;"
                                               FontFamily="{ThemeResource SymbolThemeFontFamily}"
                                               VerticalAlignment="Center"
                                               Margin="15 0 0 0"/>
                                            <TextBlock core:LocalizationManager.Key="Save"
                                                       core:LocalizationManager.PropertyName="Text" Margin="8 0 15 0"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </Setter.Value>
                </Setter>
                <Setter Property="CancelButtonStyle">
                    <Setter.Value>
                        <Style TargetType="primitivesCommon:InlineButton" BasedOn="{StaticResource EditRowButtonBaseStyle}">
                            <Setter Property="BorderThickness" Value="0 1 1 1" />
                            <Setter Property="ContentTemplate">
                                <Setter.Value>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="&#xe711;"
                                               FontFamily="{ThemeResource SymbolThemeFontFamily}"
                                               VerticalAlignment="Center"
                                               Margin="15 0 8 0"/>
                                            <TextBlock core:LocalizationManager.Key="Cancel"
                                                       core:LocalizationManager.PropertyName="Text" Margin="0 0 15 0" VerticalAlignment="Center"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </Setter.Value>
                </Setter>
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>