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.
Occasionally the DataGrid horizontal scrolling does not work properly after changing its ItemsSource. Still, tapping on any item, make it possible to scroll again.
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.
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; this.MyDataGrid.ScrollIntoView(dataTableColumn); // Option 2 - Better! // This supports any possible data source type var telerikColumn = this.MyDataGrid.Columns; this.MyDataGrid.ScrollIntoView(telerikColumn); // Option 3 - Ideal // Useful for every possible occasion var x = 5; var y = 12; this.MyDataGrid.ScrollIntoView(x, y);
My mobile app requires that my data grid have frozen columns on the left that do NOT scroll horizontally. This is useful when the first column might be an ID column or a Date column that the user always needs to see when scrolling through the other data columns.
It would be nice if we can just bind a .net DataTable or DateView as ItemsSource to the RadDataGrid.