Add the ability to specify a template when the ItemsSource is null or collection is empty.
As a solution until this feature is implemented:
Hide the DataGrid and show any content over it in the case its ItemsSource is empty.
1. filter the column by any distinct value
2. The filter is applied
3. Open the same filtering again and tap reset
4. All rows are visible and everything is ok
5. Open the same filtering again
The Checkbox from step 1 is still checked and checking any other checkbox and applying filtering does not work
Hi Team,
I would like to be able to programmatically invoke a ToolTip on a specific cell.
It would be great if you were able to allow us to use a DataGridCellInfo item and string or View content for the tooltip (like UI for WPF allows)
var cellInfo = new DataGridCellInfo(rowToSelect, columnToSelect);
// Option 1 - Quick and easy
var stringContent = "I'm a tooltip";
MyRadDataGrid.ShowTooltip(cellInfo, stringContent);
// Option 2 - For everyone who needs more than just a string.
var customContent = new HorizontalStackLayout();
customContent.Children.Add(new Image{ Source = new FileImageSource{File = "warning.png"}});
customContent.Children.Add(new Label{Text = "I'm a tooltip"});
MyRadDataGrid.ShowTooltip(cellInfo, customContent);
Hi Team,
Please add support for multiple row column headers. As an example of what I'm referring to, see the Telerik UI for Blazor implementation here => Blazor DataGrid Demos - Multi-Column Headers | Telerik UI for Blazor
Thank you,
Christian
I want to exit edit mode and commit edit when hitting on Enter Key.
It works great for text column/cell.
But it does not work for numerical cellsHeader Text, group header text, do not display some languages characters like Chinese, Thai, etc.
The root reason for this is the fact that the Skia APIs used to draw the text does not support automatic character fallback.
Workaround:
for header text:
<telerik:DataGridTextColumn.HeaderContentTemplate>
<DataTemplate>
<Label Text="your text"></Label>
</DataTemplate>
</telerik:DataGridTextColumn.HeaderContentTemplate>
group header text
<telerik:RadDataGrid.GroupHeaderTemplate>
<DataTemplate>
<Label Text="{Binding Group.Key}"/>
</DataTemplate>
</telerik:RadDataGrid.GroupHeaderTemplate>
column:
<telerik:DataGridTextColumn HeaderText="Name" >
<telerik:DataGridTextColumn.CellContentTemplate>
<DataTemplate>
<Label Text="{Binding Name}"/>
</DataTemplate>
</telerik:DataGridTextColumn.CellContentTemplate>
</telerik:DataGridTextColumn>
When a Picker is used in a CellEditTemplate, and when in edit mode, when I click on the arrow of the Picker - the picker does not open. It only opens of I click the text in the Picker.
<DataTemplate x:Key="template1">
<Picker ItemsSource="{Binding Item.Categories}" />
</DataTemplate>
<telerik:RadDataGrid x:Name="dataGrid"
AutoGenerateColumns="False">
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="Name" />
<telerik:DataGridTextColumn PropertyName="Category" CellEditTemplate="{StaticResource template1}" />
</telerik:RadDataGrid.Columns>
</telerik:RadDataGrid>
A work-around is to not use a Picker, but use a RadComboBox.
When the selected item is set initially, the selected style is not applied to the row/cell.
Workaround: You can use a Dispatcher to workaround the issue, code looks as follows:
this.Dispatcher.StartTimer(TimeSpan.FromMilliseconds(200), () =>
{
if (dataGrid.SelectedItem == null)
{
dataGrid.SelectItem(viewModel.PersonCollection.First());
}
return false;
});
When uprating the row details data, the data does not update in the UI. You have to resize the window, or collapse then expand the row details to see the updated value.
The behavior happens in 7.0.0 version. In 6.8.0 it works as expected.