Hello
We want to use grid in our WPF project which must looks like grid on picture in attachments.
We want to do merging by multiple rows on equals. For example we want to do merge the same values in first column then, in this range we want to merge by third column. Something like GroupBy("Column1").ThenBy("Column2").
I don't find any grid in your demos, which can help us to solve this problems.
Could you possibly prompt your product, which can do this things and demos for it if they are exist.
Thank you. Have a nice day!
Hello,
Is there an easy way to link a RadPivotGrid to a RadPieChart, in a similar way to the RadCartesianChart described here: http://docs.telerik.com/devtools/wpf/controls/radpivotgrid/features/radchartview-integration?
Thanks,
Richard

Hi,
Can I add a "circular grid" to a chart?
I must draw a "Polar chart" that is not a real polar chart but is a "movement in a plane chart".
It is a standard scatter line in a standard scatter chart where each point is X and Y coordinate at time T.
I want to show as background an "ellipse grid" that show distance by the origin.
I hope this is clear...
Thanks
marc.
how to make the beginning and end label of Y-Axis editable (if could assgin a template to edit, it will be nicer)
Thank you

Hello,
At this line
in the code below i am getting the ContextSwitchDeadlock exception when loading 100 000 to VirtualQueryableCollectionView using an OData v4 rest service. The VirtualQueryableCollectionView is boud to the ItemsSource of the RadGridControl
If i deactivate ContextSwitchDeadlock in the Exception Settngs of VS2015 it just takes 10 - 15 minutes for the rows "to load".
Why is this?
Why the ContextSwitchDeadlock (how would i prevent it)??
I thought the idea of VirtualQueryableCollectionView is that it returns in a jiffy (isnt that what data virtualisation is about?) with a couple hundred rows, and then loads the rest as we scroll. It shouldnt take 10 - 15 minutes just to start up.
I would like to reactivate ContextSwitchDeadlock Exception Setting in VS2015 and debug without the exception being raised.
Any ideas on how to go about it?
Also i would like to solve the issue of the long load time - that isnt data virtualisation. What causes it? How to solve it? Should i rather use the DataServiceDataSource? Is the VirtualQueryableCollectionView is wrong candidate for loading large quantities of data in small bites?
If a full demo of the VS2015 solution is needed to answer this, you can download here (use the Inserting10000Customers.sql file in it to the Customer SQL Express table with 100 000 rows), at: https://app.box.com/s/73dufnlkf63se19ehhzfzz6upevbn92m
Hope someone at Telerik or someone who knows answers.
Paul S.
nb. removing IncludeTotalCount() doesnt change the problem.
public partial class MainWindow { private static readonly Container Container = new Container(new Uri("http://localhost:21026/")); //http://localhost:21026/ public DataServiceCollection<CustomerDto> Customers = new DataServiceCollection<CustomerDto>(Container.Customers.IncludeTotalCount()); public MainWindow() { InitializeComponent(); IQueryable<CustomerDto> test = Customers.OrderBy(o => o.Name).AsQueryable(); var source = new VirtualQueryableCollectionView(test) { LoadSize = 1000 }; // source.ItemsLoading += Source_ItemsLoading; DataContext = source; } private void Source_ItemsLoading(object sender, VirtualQueryableCollectionViewItemsLoadingEventArgs e) { } }}
<Window x:Class="ODataAndAutoMapper.Telerik.UI.MainWindow"
xmlns:controls="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d">
<Grid>
<controls:RadGridView ItemsSource="{Binding}" FilteringMode="FilterRow"/>
</Grid>
</Window>
I have a simple RadTreeView that is defined like this:
<telerik:RadTreeView x:Name="contextTree" Margin="8" ItemsSource="{Binding Hierarchy, Mode=TwoWay}"> <telerik:RadTreeView.ItemTemplate> <HierarchicalDataTemplate ItemsSource="{Binding Children}"> <TextBlock Text="{Binding Name}" /> </HierarchicalDataTemplate> </telerik:RadTreeView.ItemTemplate></telerik:RadTreeView>
My Hierarchy is an ObservableCollection of a HierarchyContext object that has an ID, Name, Role, ParentID and Children properties.
I would like to have all nodes in the collection Expanded by default. I'd also like to be able to control if each node is expanded through Code. I assume I'd need to add a "IsExpanded" bool? property to my object but, can you give me an example of how to do this?
Thanks, Joel.
Hello Telerik,
I am having a very strange issue when clicking on a row of a grouped grid populated by a VirtualQueryableCollectionView object
It turns out it duplicates itself.
I simulated it in the most simple solution I could think of. Check the attached pictures.
Please heIp me find a workaround for this issue.
The database I used contains only one table, having 4 rows on it.
And here is my code:
MainWindow.xaml
<Window x:Class="GroupingRowClickIssue.MainWindow" xmlns:local="clr-namespace:GroupingRowClickIssue" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" mc:Ignorable="d" Loaded="Window_Loaded" Title="MainWindow" Height="350" Width="525"> <Grid> <telerik:RadGridView Name="RadGridView" ItemsSource="{Binding View}" AutoGenerateColumns="False" > <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Type}"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid></Window>MainWindow.xaml.cs
using System.Windows;using TelerikVirtualization;namespace GroupingRowClickIssue{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); DataContext = new ViewModel(); } private void Window_Loaded(object sender, RoutedEventArgs e) { ((ViewModel)DataContext).Load(); } }}ViewModel.cs
using PropertyChanged;using Telerik.Windows.Data;namespace TelerikVirtualization{ [ImplementPropertyChanged] public class ViewModel { public VirtualQueryableCollectionView View { get; set; } Controller controller; public ViewModel() { controller = new Controller(); } public void Load() { View = controller.GetUsers(); } }}Controller.cs
using GroupingRowClickIssue; using System.Data; using System.Linq;using Telerik.Windows.Data;namespace TelerikVirtualization{ public class Controller { public VirtualQueryableCollectionView GetUsers() { DataClasses1DataContext db = new DataClasses1DataContext("Application Name=test;Data Source=WS-VRC;Initial Catalog=SimpleDB;User ID=sa;Password=App12345"); var data = from item in db.SimpleTables select new User { Name = item.Name, Type = item.Type }; VirtualQueryableCollectionView view = new VirtualQueryableCollectionView(data) { LoadSize = 30, VirtualItemCount = data.Count() }; return view; } } public class User { public string Name { get; set; } public string Type { get; set; } } }
We would like to disable the Undo feature of the TextBoxes that are auto-created for string properties.
It interferes with our global Ctrl+Z undo command when the TextBox in the PropertyGrid are keyboard focused.
Thanks.
Hi,
I'm trying to change background colour for cells with value = "NO".
I found in one of the demo example this code:
<telerik:StyleRule Condition="UnitPrice > 10">
<Style TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
<Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}" />
<Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MainBrush}" />
</Style>
</telerik:StyleRule>
Could I use StyleRule and Condition for string values like below ?
<telerik:StyleRule Condition="MyColumn = 'YES' ">
It doesn't work for me ...
hi dear telerik team
i have two MapLineViews in a visualization layer on the map (like a blue one and a red one). these two lines are exactly (or partly) on eachother.
at first we assume the red one is on top when we zoom out and zoom in sometimes this order changes! and the blue one comes on top.
i know the visualizationlayer redraws the items when the zoom changes but why does it change the order and how can i stop this from happening
thank you very much in advance for your help
