Refer to the attached reproducible.
1. Run app and apply a filter: "Contains 0"
2. Notice #40 is in the correct location, between #30 and #50
3. Press the button on the bottom of the page to go BlankPage and then navigate back.
4. Observe #40 is now at the end of the rows even though the filter is clearly applied.
Look in MainPageViewModel.cs lines 42 to 49. When the navigation back occurs, this code is executed. I can reproduce the problem with both Replace and Add+Remove operations.
public override void OnNavigatedTo(INavigationParameters parameters)
{
base.OnNavigatedTo(parameters);
if (!parameters.ContainsKey("from"))
{
var items = new ObservableCollection<MyModel>();
for (var i = 1; i <= 100; i++)
items.Add(new MyModel { Number = i.ToString() });
Items = items;
}
else
{
var item = Items[39];
// Bug Test #1 - using ObservableCollection Reset
Items[39] = item;
// Bug Test #2 - using ObservableCollection Remove & Add
//Items.RemoveAt(39);
//Items.Insert(39, item);
}
}
If you define a PropertyGroupDescriptor in XAML or in page constructor and the PropertyName is set to a nested property, the grouping is not applied.
Grouping by a nested property works correctly when called from the Filtering UI or on a button click action.
I have designed datagrid like weekly signin details
But i required datagrid with sub header like ,
Please provide better solution to design for sub header with main header
Column names in column selector are not visible in Android the first time the column selector is shown. This happens only in the case UserFilterMode is disabled.
when using automatic column generation you don't have easy access to the column being created so that you can apply customizations (Header, style, etc).
Please implement the same event that UI for WPF has, see it here: https://docs.telerik.com/devtools/wpf/controls/radgridview/events/column-resize-event#autogeneratingcolumn
I have tried to change the cell background color programatically .
This is Perfectly Working on Android Devices.
But,this not working on iOS devices.
Please provide better solution to solve this issue.
below i have attached the xmal and .cs file
<
grid:RadDataGrid.GroupHeaderTemplate
>
<
DataTemplate
>
<
Label
Text
=
"{Binding Group.Key}"
/>
</
DataTemplate
>
</
grid:RadDataGrid.GroupHeaderTemplate
>
<
telerikDataGrid:DataGridTemplateColumn
HeaderText
=
"Name"
>
<
telerikDataGrid:DataGridTemplateColumn.CellContentTemplate
>
<
DataTemplate
>
<
Label
Text
=
"{Binding Name}"
/>
</
DataTemplate
>
</
telerikDataGrid:DataGridTemplateColumn.CellContentTemplate
>
</
telerikDataGrid:DataGridTemplateColumn
>
Currently in 2019 R2 and earlier, the "options" button at the bottom of the filtering UI allows the user to rearrange and toggle the visibility of columns in the DataGrid.
I request to have a property or setting on the DataGrid or the DataGridColumn that will prevent the user from changing the visibility or ordering of columns. from that UI (just like you can prevent user filtering or user sorting)
When starting an app that contians a RadDataGrid in the initial page, an exception is thrown because the telerikfont.ttf file is left unregistered.
Work-around:
Access anything from the TelerikFont class before the InitializeComponent of the page:
TelerikFont.GetUseEmbeddedFont(this);
Currently, all groups are expanded by default. We should expose methods to collapse/expand certain groups. Furthermore, CollapseAll, ExpandAll groups should be considered as well.