Hi there,
I have 2 RadGridViews in a sample project defined as per the attached screenshot (GridViewFocusIssue.png).
The crux of the issue is as follows:
-If I edit any of the cells in the 1st grid, and then click on either the TextBox or the Button, then the Cell Edit is committed as expected.
-If I edit any of the cells in the 1st grid, and then click into a cell in the 2nd grid, the cell that was being edited in the 1st grid doesn't leave Edit mode. (please see ProblemScreenshot.png)
My desired behaviour is that as soon as a user clicks outside of a cell that is in edit mode, then that cell should have its edit committed.
Please can you advise how to do this?
Hello
I am trying to generate a simple chart with 3 datapoint. Datapoints are defined as shown below
public IDgraphViewModel() {
Data = new ObservableCollection<ChartProfileSerisi>();
ChartProfileSerisi chartProfil1 = new ChartProfileSerisi();
chartProfil1.Noktalar.Add(new ChartVeriNoktasi(1.0,1.0));
chartProfil1.Noktalar.Add(new ChartVeriNoktasi(10.0, 10));
chartProfil1.Noktalar.Add(new ChartVeriNoktasi(140, 60));
Data.Add(chartProfil1); }
I define the series with code behind
Chart.HorizontalAxis = new LinearAxis(); Chart.VerticalAxis = new LinearAxis(); ScatterPointSeries series1 = new ScatterPointSeries();
series1.ItemsSource = Data[0].Noktalar; series1.XValueBinding = new PropertyNameDataPointBinding() {PropertyName = "Zaman"}; series1.XValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Stres" }; series1.Visibility = Visibility.Visible;
Chart.Series.Add(series1);
In generated graph, axis appears correctly, x axis covers all data range up to 140 but points are not visible. In debugger, I checked
series1.DataPoints property, it is empty. What could be missing? The remaining code is below
public class ChartProfileSerisi {
public ObservableCollection<ChartVeriNoktasi> Noktalar { get; set; }
public ChartProfileSerisi() {
Noktalar = new ObservableCollection<ChartVeriNoktasi>();
} }
public class ChartVeriNoktasi {
public ChartVeriNoktasi(double zaman, double stres) {
this.Zaman = zaman; this.Stres = stres; }
public double Zaman { get; set; }
public double Stres { get; set; }
}​

I see in the docs that it is possible to detect a point being selected in a chart view.
Is it possible to drag that selected point so that the underlying data get updated?
If it is possible to do so, we have a curve editor which is something I will need in my project.
Any other way to achieve this 'feature' ?
Thanks
Laurent

Hi,
I have an issue and I can't seem to find the answer on my own.
To reproduce you need a blank document, or a document with a few lines, then you have to zoom on the document and finally you have to scroll to the bottom.
Once you did that, click on the bottom of the document (left or right), the document is scrolled up the the last line break, which in my case is on the top of the document.
Do you ​have the same behaviour? Please say yes...
Thanks.
I am populating a griviews columns from the ViewModel and would now like to reference a complex CellStyleSelector. This is normally reference in XAML using...
<sel:EventDashboardSelector x:Key="eventDashboardSelector"NormalStyle="{StaticResource NormalCellStyle}"CompletedStyle="{StaticResource CompletedStyle}"OverdueStyle="{StaticResource OverdueStyle}"DueStyle="{StaticResource DueStyle}"PendingStyle="{StaticResource PendingStyle}" />The style selector class is in ..Code.StyleSelectors.EventdashboardSelector.cs
This is the MVVM snippet where I create the columns
foreach (DateTime oDate in lDates) { sUniqueName = string.Format("Event{0}", i); oCol = new GridViewDataColumn(); oCol.HeaderCellStyle = HeaderStyle(); if (oDate == DateTime.Today) { oCol.HeaderCellStyle = HeaderStyleRed(); } oCol.CellStyleSelector = vwDashboard.Resources["eventDashboardSelector"] as StyleSelector; <<<<----This is my attempt to reference the resource oCol.Width = 40; oCol.Header = string.Format("{0}/{1}", oDate.Day, oDate.Month); oCol.UniqueName = sUniqueName; oCol.DataMemberBinding = new System.Windows.Data.Binding(sUniqueName); oCol.HeaderTextAlignment = TextAlignment.Center; oCol.TextAlignment = TextAlignment.Center; ColumnList.Add(oCol); i++; }Your help will be appreciated.
I'm having an issue where my chart is displaying values on that minmum axis that should be below that axis. This is using a PointTemplate to show a BarSeries as points. This happens for both logarithmic and linear axes. Example is as follows:
<Window x:Class="ZeroLogAxis.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="350" Width="525"> <Grid> <telerik:RadCartesianChart> <telerik:RadCartesianChart.Resources> <DataTemplate x:Key="PointTemplate"> <Ellipse Width="8" Height="8" VerticalAlignment="Top" Margin="-4,-4,0,0" Fill="Black" /> </DataTemplate> <Style TargetType="telerik:BarSeries"> <Setter Property="PointTemplate" Value="{StaticResource PointTemplate}" /> </Style> </telerik:RadCartesianChart.Resources> <telerik:RadCartesianChart.HorizontalAxis> <telerik:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="dd-MMM-yy" /> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis Minimum="3" Maximum="6" /> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.Series> <telerik:BarSeries Name="BarSeries" /> </telerik:RadCartesianChart.Series> </telerik:RadCartesianChart> </Grid></Window>Code Behind:
public MainWindow(){ InitializeComponent(); for (int i = 1; i < 6; i++) BarSeries.DataPoints.Add( new Telerik.Charting.CategoricalDataPoint() { Category = DateTime.Today.AddDays(i), Value = i });}With a Minimum="3" on my VerticalAxis, I would expect to see half of the "3" point, and the full 4 and 5 point. However, I'm also seeing half a point on the axis for the 1 and 2 values, as indicated by the red arrows in the attached screenshot.
Any suggestions on how to not display points that should not be on the chart?
Thanks,
Louis
I want to bind the SelectedDate in RadCalendar, to two CurrentDate in different RadScheduleView. How can i do that?
<telerik:RadCalendar Name="radCalendar" Canvas.Left="80" Canvas.Top="200" Height="320" Width="400" SelectedDate="{Binding CurrentDate, ElementName=radScheduleView, Mode=TwoWay}" SelectionMode="Single" DisplayDate="{Binding DisplayDate, Mode=TwoWay}"> </telerik:RadCalendar>
Hi there,
I have a RadGridView with a GroupHeaderTemplate. Every time any group is expanded / collapsed or a new column grouping is added or removed, all group header controls (as defined in the GroupHeaderTemplate) are unloaded and new ones are created. Is it possible to stop this behaviour so that all group header controls are not recreated on every action?
Thanks
Russell