Hi, I have a data grid where selection of cells works well until the grid is reloaded. I have code that changes the text of a cell after the current cell is clicked, then reloads the grid. The cell / grid object selected items shows it as selected but the format does not change.
The XAML settings for the grid:
AutoGenerateColumns="False"
UserGroupMode="Disabled"
CurrentCellChanged="workerGrid_CurrentCellChanged"
CurrentCell="{Binding Cell, Mode=TwoWay}"
SelectionUnit="Cell"
CurrentCellStyle="{StaticResource CurrentCellStyle}"
SelectionMode="Multiple"
SelectedItem="{Binding SelectedWorker,Mode=TwoWay}"
>
<telerik:RadDataGrid.AlternateRowBackgroundStyle>
<telerik:DataGridBorderStyle BackgroundColor="LightGray"
BorderThickness="1"
BorderColor="BlanchedAlmond"/>
</telerik:RadDataGrid.AlternateRowBackgroundStyle>
<telerik:RadDataGrid.SelectionStyle>
<telerik:DataGridBorderStyle BackgroundColor="SeaGreen"
BorderColor="Wheat"
BorderThickness="2"/>
</telerik:RadDataGrid.SelectionStyle>Part of the code that changes the cell content and then passes it to the view model, if I comment this out, the selection works well.
List<workerData> workers = new List<workerData>();
foreach (var myItem in workerGrid.ItemsSource as ObservableCollection<workerData>)
if (myItem != null)
{
//code that changes the text value of one cell, then loads it into the list of classes
}
//then passes it to the view model, where it is loaded. this is the same as first load
this.BindingContext = new ViewModel(workers);I expect that I have a setting wrong / error in the code because I can see the selected cell etc. in this:
var tempSel = this.workerGrid.SelectedItems;Thank you
I added the Telerik Nuget server to Visual Studio Nuget package manger settings and it asked for a username and password. I entered my email and password and then I see this:
[Telerik NuGet] Unable to load the service index for source https://nuget.telerik.com/v3/index.json.
The ServicePointManager does not support proxies with the https scheme.
Failed to restore C:\Users\[username]\source\repos\TelerikMauiApp1\TelerikMauiApp1\TelerikMauiApp1.csproj (in 12.41 sec).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
Please tell me how to setup/modify/config my settings for a proxy.
Thank you,
-Josh
RadComboBox missing arrow icon in window when create publish with
-p:SelfContained=true -p:WindowsAppSDKSelfContained=true
Hi,
I have many issues that I've been ignoring, hoping that new releases (yours, Maui, etc.) would fix them. Well, good thing I didn't hold my breath... :)
How would you prefer I create tickets? Should I create a separate ticket for each issue, or bundle them into one large ticket?
Thanks.


Is it possible to customise the line style (eg. dashes, dots, combo) in the Cartesian chart or can we just change the colour and thickness?
Thanks =)
When the listview loads hundreds of pieces of data, the page slide will be stuck. Is there any way to alleviate it,
or implement listview paging?
I have a situation where the number of series visible on a Cartesian Chart will be controlled by some other switch / check box list that selects which series to show on the graph.
I have defined a basic class for each series like so:
public class LineSeriesData
{
public Color Colour { get; set; }
public ObservableCollection<LineDataPoint> DataSet { get; set; }
}
public class LineDataPoint
{
public double Value;
public object Category;
}The VM for the control that uses the graph will then have a collection of the LineSeriesData class that I'd like to bind to the graph as individual LineSeries like in the documentation example, but I can't work out how the binding would work in the xaml as there's no datatemplate like interface to handle a collection of line series, just individual properties.
<telerik:RadCartesianChart.Series>
<telerik:LineSeries
Stroke="{Binding Colour}"
ValueBinding="Value"
CategoryBinding="Category"
ItemsSource="{Binding DataSet}" />
<telerik:LineSeries
Stroke="{Binding Colour}"
ValueBinding="Value"
CategoryBinding="Category"
ItemsSource="{Binding DataSet}" />
</telerik:RadCartesianChart.Series>I also tried looping through the collection and adding series manually in the code behind but this doesn't seem to work either. The chart just displays No Data message.
foreach (var item in DataSeries)
{
var series = new LineSeries
{
Stroke = item.Colour,
ItemsSource = item.DataSet
};
series.ValueBinding.PropertyName = "Value";
series.CategoryBinding.PropertyName = "Category";
MyChart.Series.Add(series);
};
Is there a way to bind to a collection of series or do we have to have individual properties for each one on the VM? If they have to be individual properties, how would I go about hiding / showing a series?
Thanks!
Hello,
Will Telerik release native controls for Microsoft.iOS and Microsoft.Android Like Xamatin.iOS and Xamarin.Android.
Thank you
Hey Team,
I created a ItemTemplate for ComboBox, and did some styles update, but I found there was no Hover status like default BackgroundColor changed when hover the items. May I know how can I add it?
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<telerik:RadBorder MinimumWidthRequest="300">
<Label Padding="16,7,0,7"
Text="{Binding Name}"
TextColor="Green" />
</telerik:RadBorder>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
<telerik:RadComboBox.SelectedItemTemplate>
<DataTemplate>
<telerik:RadBorder BackgroundColor="Gray"
MinimumWidthRequest="300">
<Label Margin="8,0,0,0"
Padding="8,7,0,7"
Text="{Binding Name}"
TextColor="Red" />
</telerik:RadBorder>
</DataTemplate>
</telerik:RadComboBox.SelectedItemTemplate>You can add this code into Sample code to reproduce it.
My Current ComboBox drop down list:
Expect Drop down list:
The 3223334 option has a BackgroundColor when we hover it.
Thanks
Allen
