Hi Team,
Currently, you have ScrollItemIntoView support. However, that does not work unless you have rows and a reference to the data item.
I need an explicit mechanism to pick a specific X/Y cell position, or at least a column index, that can be scrolled to so that I can have horizontal scrolling capability.
For example, imagine a DataGrid that has only one row, but a 100 columns, I would like to be able to do this:
// Option 1 - Use the ItemsSource column reference
var dataTableColumn = this.myDataTable.Columns[50];
this.MyDataGrid.ScrollIntoView(dataTableColumn);
// Option 2 - Better!
// This supports any possible data source type
var telerikColumn = this.MyDataGrid.Columns[50];
this.MyDataGrid.ScrollIntoView(telerikColumn);
// Option 3 - Ideal
// Useful for every possible occasion
var x = 5;
var y = 12;
this.MyDataGrid.ScrollIntoView(x, y);
The BindingContext of the RadDataGrid does not propagate to its columns. Available in minor release 2017.3.1214. It will also be available in the R1 2018 release.
Available in minor release 2018.2.821. It will also be available in the R3 2018 release.
<
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
>
Available in the R1 2018 SP release.
When defining TextColumns with a CellStyleSelector, it works correctly the first time the DataGrid is bound to the ItemsSource. If you then update the bound collection (which has PropChanged wired up), the CellStyleSelector's SelectStyle method is properly executed, but the DatasGrid doesn't use the returned DataGridBorderStyle. iOS - Works as expected UWP - Background color doesn't update Android - Background color doesn't update Find reproducible attached Available in the R2 2018 release.
Allow binding of complex objects to RadDataGrid.
The DataGrid documentation is missing a Styling article. It should cover how to use the following: - DataGridBorderStyle (and how it's used for the RowBackground styles and SelectedStyle - DataGridTextCellStyle (especially how as the CellContentStyle it lets you set the SelectedTextColor) - DataGridLoadOnDemandStyle - DataGridColumnHeaderStyle - DataGridGroupHeaderStyle - DataGridHeaderStyle I think the Styling section might need it's own node with a few articles as the information would be too large for one article
Available in the R2 2018 release.