Giving a RadDataGrid where columns are mostly empty, scroll to the right and mutate the data. All the rows without data visible disappear until the user scrolls back to columns that have data.
Link to video: https://youtube.com/shorts/_Zdm2FIowP8?feature=share
Sample project attached.
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);
Provide an option to programmatically reset the ordering of the columns in the DataGrid after reordering them using the Options-> more button
There isn't a command which can be used for resetting the column reorder.
Programmatically changing column width does not reflect on the UI when the width value is lower than the current width value.
No issues when increasing the value, the UI is updated
In case there are more columns inside the DataGrid, a horizontal scrollbar appears when a user swipes left. However, sometimes it' not clear there are more columns further on the left. For example, when you define a column's width with a big value or when the number of first 5 columns fit perfectly with a device's width totally by coincidence. In those cases, it'll be helpful to display horizontal scrollbar by default so the user knows there're more information on the left. (Very similar to a vertical scrollbar)