Hi,
I have a RadGridView in WPF where I use CustomGrouping for displaying it as a hierarchical structure. I set on it AutoExpandGroups="True" in order to be expanded by default. My problem is, if I manually collapse something in the RadGridView and I make an update to the list bounded to ItemsSource, the RadGridView automatically expands and does not stay as it was.
Thanks
I've read this thread but it is a bit confusing and old: Live sorting/grouping in UI for WPF | Telerik Forums
What is the current situation?
I am having problems with Devexpress GridControl as they dont support what they call "Live Data Shaping" eg sorting with real-time updates IF you use WPF binding.
Question - can Telerik data grid and/or virtual grid do live data shaping where columns use custom templates with WPF binding to a dictionary. For example: `{Binding Fields[abc].Value}`?
There's probably just a property for this that I am missing.
I have a RadGridView with SelectionUnit="FullRow" but it still draws a box around whatever cell I click on.
I can confirm that it doing the full row selection because it will copy the row text if I press ctrl-C.
The row indicator on the left is also showing correctly.
So how do I tell it to not draw the box around the cell?
(it's not a big issue but some user will probably complain about it)
Hello,
I am new to Telerik, in my application we are using RadGridView and load the data dynamically.
when data is large, and I copy pasted from excel then my cells are not highlighted. data is pasted correctly but highlighted cell is not working.
If I edit it manually then it's working fine and I handled this highlighted cell in "CellEditEnd" event.
I walk through multiple forums but none of them are working for me.
I tried to raise ClipboardPaste event but that is not available my RadGridView control.
Also I manually created below function but "MyRadGrid.ChildrenOfType<GridViewRow>()" is not giving me all the index of my radgridview it gives 10 or 15 according to the screen size because of virtualization
private void HighlightUpdateCell(int rowIndex, int columnIndex)
{
int rowNumber = 0;
foreach (GridViewRow gr in MyRadGrid.ChildrenOfType<GridViewRow>())
{
if (rowNumber == rowIndex)
{
gr.Cells[columnIndex].Background = Brushes.Yellow;
break;
}
rowNumber++;
}
}
Another approach was to create a property and set it in style but that is also not working. as cells are not showing in edited mode after pasting data.
I also tried using CellStyleSelector but the is applying changes only on load after that this method is not call itself.
I tried for ClipboardPaste event but unable to find that in my application.
I am using latest Telerik libraries from 2024
Can you please help to highlight the cells of RadGridView after paste is completed.
I have a RadGridView where i've replaced the "Full Text Search" with a custom control (TextBox + Label)
I'm using a Debouncer to collect text changes from the Textbox and then after 300msec - do the search:
if (e.PropertyName == "Query")
{
debounce.Debounce(() =>
{
Dispatcher.Invoke(() =>
{
FilterByQuery();
});
});
}
var searchBytextCommand = RadGridViewCommands.SearchByText as RoutedUICommand;
searchBytextCommand.Execute(Query, radgrid);
Query = String property
radgrid = x:name of the RadGridView.
at some random point in time of the lifetime of the WPF program, this function stops working !
- I dont have any other case of the Debouncer stops working so i trust that it's not the issue.
- WPF Databinding and PropertyChanged events are also working 1000 other places in the program without failing, so i trust that they work too.
- This leads me to believe that the RadGridViewCommands might have an issue..
RiassuntoSorgentiGrid.Columns.Add(new GridViewDataColumn()
{
Header = Utility.LoadString(ResourcesKeys.RipetizioniSorgente),
ColumnGroupName = GENERALGROUPNAME,
DataFormatString = "D",
DataMemberBinding = new Binding("Sorgente.Ripetizioni")
{
Mode = BindingMode.OneWay
}
});
RiassuntoSorgentiGrid.Columns.Add(new GridViewDataColumn()
{
Header = Utility.LoadString(ResourcesKeys.RipetizioniSorgente),
ColumnGroupName = GENERALGROUPNAME,
DataFormatString = "D",
DataMemberBinding = new Binding($"Sorgente.LivelliSingoli[{parametro.Id}][{l}]")
{
Mode = BindingMode.OneWay
}
});
Hi Iam trying to set row numbers in radgrdview as like below.
Please let me know is there any way to do like below.
Regards,
Prabhakar k.
Hello,
I am using a RadTreeView component in a WPF application that looks like in the following photo. The hierarchy is: a Category can contain a list of SubCategories and a SubCategory contains a List of Activities that have some properties. I would like to transform my RadTreeView into a RadTreeListView or RadGridVew in order to beneficiate from SelectionUnit property and the navigation between cells from the keyboard but I could not find anything that meets by needs:
a component with cells only on the last level of the hierarchy, to be able to select a cell and edit it and, if possible, to have a tabular header with details from the last level of the hirarchy.
Thank you!
Hi,
I am working with RadGridView of Telerik
Source of the RadGridView is QueryableCollectionView (with OData)
Each column has filter option.
but the filter popup advance contains only "Select All" and not all the values of the column.
What should I do for see all the values in the filter advance?
Thanks