Telerik Forums
UI for WinUI Forum
1 answer
5 views

Hi,

I would like to use SelectionMode="Extended" for my DataGrid and still be able to navigate through/select rows with arrow keys. Setting IsSynchronizedWithCurrentItem="True", however, disables multiselection. Is there a way to combine the two behaviors?

Thanks for your help

Regards

Simon

Stenly
Telerik team
 answered on 15 Mar 2024
1 answer
16 views

I have simple datagrid with numerical columns and when I switch on column filter dialog it is impossible to enter values over 100 or below 0. It looks like that RadNumericBox is limited to range <0,100>. I am able to disable distinct values but nothing else.

For example:


    <telerikgrid:RadDataGrid x:Name="MeasuredProfilesDataGrid" ItemsSource="{x:Bind ViewModel.Points}" AutoGenerateColumns="False" SelectionMode="Extended" SelectionUnit="Row" UserGroupMode="Disabled" UserEditMode="Inline">

        <telerikgrid:RadDataGrid.Columns>
            <telerikgrid:DataGridNumericalColumn PropertyName="StationingUserValue" Header="{x:Bind HeaderViewModel.StationingHeader}" CellContentFormat="{x:Bind HeaderViewModel.StationingFormatString}" ShowDistinctValuesFilter="False"/>
            <telerikgrid:DataGridNumericalColumn PropertyName="OffsetXUserValue" Header="{x:Bind HeaderViewModel.OffsetXHeader}" CellContentFormat="{x:Bind HeaderViewModel.LocalDistanceFormatString}" ShowDistinctValuesFilter="False"/>
            <telerikgrid:DataGridNumericalColumn PropertyName="OffsetYUserValue" Header="{x:Bind HeaderViewModel.OffsetYHeader}" CellContentFormat="{x:Bind HeaderViewModel.LocalDistanceFormatString}" ShowDistinctValuesFilter="False"/>
            <telerikgrid:DataGridNumericalColumn PropertyName="EastingUserValue" Header="{x:Bind HeaderViewModel.EastingHeader}" CellContentFormat="{x:Bind HeaderViewModel.ENHFormatString}" ShowDistinctValuesFilter="False"/>
            <telerikgrid:DataGridNumericalColumn PropertyName="NorthingUserValue" Header="{x:Bind HeaderViewModel.NorthingHeader}" CellContentFormat="{x:Bind HeaderViewModel.ENHFormatString}" ShowDistinctValuesFilter="False"/>
            <telerikgrid:DataGridNumericalColumn PropertyName="HeightUserValue" Header="{x:Bind HeaderViewModel.HeightHeader}" CellContentFormat="{x:Bind HeaderViewModel.ENHFormatString}" ShowDistinctValuesFilter="False"/>
        </telerikgrid:RadDataGrid.Columns>
    </telerikgrid:RadDataGrid>

Martin Ivanov
Telerik team
 answered on 15 Feb 2024
1 answer
33 views
Grouping a DataGrid is not what I'm looking for.
Martin Ivanov
Telerik team
 answered on 30 Oct 2023
1 answer
66 views

I programmatically open/close drawer and don't need to show button and even if I did want to show it I would use a different image. 

Thanks. 

Martin Ivanov
Telerik team
 answered on 06 Sep 2023
1 answer
110 views

Hello 

I am considering to implement our project with WinUI 3 related map controller.

I wat to confirm that WinUI 3 map controller support to draw map arrow with direction on the map?

I need to display arrows on the map.

Thanks

 

 

Martin Ivanov
Telerik team
 answered on 06 Sep 2023
1 answer
48 views

I feel like I'm missing something because this is very basic behaviour: when I drop down the DateTimePicker (using default property values) to input the date and time, I cannot input both at one time.  This is because when switching to the Time tab, the date is reset to the original value, and when switching to the Date tab the time is reset to the original value.  So to change both the date and time, one must first edit the date, press Ok, then edit the time, and press Ok.  I thought this might have something to do with the binding, but the Telerik Example app does the same thing.

Is there a way to have the picker keep the edited value when switching between the tabs?

Martin Ivanov
Telerik team
 answered on 05 Sep 2023
0 answers
95 views

Hi Telerik,

I trying to run my app in windows, and observe that the Telerik RadSlideDrawer is not opening, to view the content, whereas the same code works fine in Android.

 

Code:

 

App in Windows:

 

App in Android (Works fine):

 

Thanks,

Mohammed Rameez Raza (Rameez).

Mohammed Rameez
Top achievements
Rank 1
Iron
 updated question on 23 Aug 2023
0 answers
60 views

Hi,

 

  I am using the DateTimeContinuousAxis to manage a chart with a CandlestickSeries and a RangeBarSeries.  However there is a visual "bug", the candles stroke is not always centered on the candlestick, the gap is not always equal between the bars and the candle doesn't seem to be always centered over the tick.  Please see my attached image.


// horizontal axis
<tchart:RadCartesianChart.HorizontalAxis>
    <tchart:DateTimeContinuousAxis  MaximumTicks="5" PlotStretch="Uniform" 
    PlotMode="OnTicks" GapLength="0.3" FontSize="11" LastLabelVisibility="Visible"  Visibility="Visible"/>
</tchart:RadCartesianChart.HorizontalAxis>

// first serie
<tchart:CandlestickSeries x:Name="candleStickSeriesA" ItemsSource="{Binding}" ClipToPlotArea="False"  ZIndex="10"
                                                  tchart:ChartTrackBallBehavior.TrackInfoTemplate="{StaticResource EmptyTemplate}">

// second serie
<tchart:RangeBarSeries x:Name="candleVolumeSeriesA" ItemsSource="{Binding}" ZIndex="1"
                                               tchart:ChartTrackBallBehavior.TrackInfoTemplate="{StaticResource EmptyTemplate}">

 

  My guess is that this is in relation with the zoom level, probably the space cannot be divided perfectly by the candle space / gap or something like that.

  I need to use the DateTimeContinuousAxis because it's the only DateTime axis that allows for a constant max number of labels.  I really think this feature should be available on all Axis types..

Anyway to fix this?  Maybe an adaptive GapLength would be a good feature to add, unless I am missing something.

 

Thank you!

 

Rick
Top achievements
Rank 1
Iron
 asked on 27 Jul 2023
0 answers
82 views

Hi

I have a Datagrid and on double click on an row a detail view for this row is loaded. And when clicking the back button the datagrid view is loaded again. The Viewmodel behind the datagrid is a singleton, so the data is still there.

Now what I want is to preserve the filters of the grid so that a user can set a filter, double click an entry, click the back button and has the filter still set and the data still filtered.

Its a bit tricky but i can do that with Text- and DateTimeFilters by saving the Datagrids Filterdescriptors in the Viewmodel in the OnNavigatedFrom event and setting a cloned version of them in the OnNavigatedTo Event.

But I see no possibility for DistinctValueFilterDescriptors because the actual Data is set in the filter.

Is there a better way to save and load the filter state of a grid?

Hans
Top achievements
Rank 1
 asked on 21 Jul 2023
2 answers
122 views

Hi guys!

 

  I would like to customize as much as possible this wonderful control that is the TimeBar.

  At the very least I would like to be able to change the color of the blue thumb handles:

- if possible, I would like to change t only for my current page, not system-wide

- if possible, I would like to find a way to style any control in Telerik in the same manner

 

  My question might be too large in scope, but if you could help me style this control for my current page it would be greatly appreciated, I cannot find anywhere the items that are customizable in the RadTimeBar docs.  p.s. the TimeBar tag doesn't exist in this forum neither in the choices below my post.  Thanks!!

Lance | Manager Technical Support
Telerik team
 answered on 05 Jul 2023
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?