<ContentPage.Resources>
<ResourceDictionary>
<Style TargetType="telerik:RadBusyIndicator" x:Name="busy">
<Setter Property="BackgroundColor" Value="Red"/>
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<telerik:RadDataGrid IsBusy="True"/>
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.
Provide a user commands as RadListView that you could directly bind in the ViewModel.
Solution:
Enhance the DataGridCommand class as a user command and in this way bind it to the defined commands inside ViewModel/ContentPage. - Sample project attached
When navigating to DataGrid examples, xaml binding errors occur for ActualWidth and Header Text.
Still, the app runs as expected.
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);
Provide an option to sort the template column by nested property.
For example:
<dataGrid:DataGridTemplateColumn>
<dataGrid:DataGridTemplateColumn.CellContentTemplate>
<DataTemplate>
<Label Text="{Binding MyAddress.City}" />
</DataTemplate>
</dataGrid:DataGridTemplateColumn.CellContentTemplate>
<dataGrid:DataGridTemplateColumn.SortDescriptor>
<dataGrid:PropertySortDescriptor PropertyName="MyAddress.City" />
</dataGrid:DataGridTemplateColumn.SortDescriptor>
</dataGrid:DataGridTemplateColumn>
IsCaseSensitive property doesn't work in the DataGrid control.
Workaround: Use Programmatic Filtering
Disable the built in filtering UI and apply a custom UI with programmatic filtering.
Please provide the Full Data Grid Column Header Control Template for customization. The DataGrid Column Header content template is useful but we would like full control of the Column Header Control Template.