I would like to change the order to Drag & Drop between two or more groups in the GridView.
However, the contents of the sample works normally, but the code I wrote does not work.
I do not have any other options, but I do not know why. What did he do wrong? Please help me.
We are using version 2017.2.614.40.
Work Code...
<telerik:RadGridView x:Name="ui_lsvGridView" GroupRenderMode="Flat" RowIndicatorVisibility="Collapsed"
CanUserFreezeColumns="False"
AutoGenerateColumns="False"
IsFilteringAllowed="{Binding UseGridFilter}"
CanUserResizeColumns="true"
GridLinesVisibility="Horizontal"
telerik:StyleManager.Theme="Windows8"
SelectionUnit="FullRow"
SelectionMode="Single"
IsReadOnly="True"
ShouldReorderColumnsOnUngrouping="True"
ItemsSource="{Binding DataList}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
MouseRightButtonDown="ui_lsvGridView_MouseRightButtonDown"
MouseDoubleClick="ui_lsvGridView_MouseDoubleClick">
<telerik:RadGridView.GroupHeaderTemplate>
<DataTemplate>
<TextBlock Foreground="{Binding Group.Key, Converter={StaticResource EmptyValuetoColorStringConverter}}" Text="{Binding Group.Key, Converter={StaticResource EmptyValuetoEmptyConverter}}" FontWeight="Bold" />
</DataTemplate>
</telerik:RadGridView.GroupHeaderTemplate>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Name="rno" Header="{x:Static Locale:Res.MNU_No}" Width="40" DataMemberBinding="{Binding [rno]}" CellStyle="{StaticResource tGridRowStyle_Number}" IsFilterable="False" IsGroupable="False" >
<telerik:GridViewDataColumn.AggregateFunctions>
<telerik:CountFunction ResultFormatString="{}{0:N0}" />
</telerik:GridViewDataColumn.AggregateFunctions>
</telerik:GridViewDataColumn>
..........
I checked this in a new project and see the same results. Seeing this with multiple versions, including the latest.
MouseWheelMode="ZoomToPoint" does not work. It zooms but does not center on the point.
The ZoomLevel binding is not updating correctly and/or partially ignoring MaxZoomLevel. For example, if I set a MaxZoomLevel of 19, and use the mouse wheel to zoom, I will receive the following values:
17,18,19,20
If I keep zooming in with the mouse wheel, I will continue to receive "20", even though the zoom isn't changing. If I then zoom out with the wheel, the ZoomLevel then changes from 20 to 18.
<
telerik:RadMap
MaxZoomLevel
=
"19"
UseSpringAnimations
=
"False"
ZoomLevel
=
"{Binding ZoomLevel, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Center
=
"30.11,-91"
MouseClickMode
=
"None"
MouseWheelMode
=
"ZoomToPoint"
>
<
telerik:RadMap.Provider
>
<
telerik:OpenStreetMapProvider
/>
</
telerik:RadMap.Provider
>
</
telerik:RadMap
>
Hi guys,
I need to make StrokeThickness bigger for the relation of the selected tasks. What I want is to make easier for the user to understand each task's dependencies. How can I do it?
Best regards
Paolo
Hi,
I need to implement a grid where the user can select a list of itemes from a TreeView. Once the items are selected, the cell must show the concatenation of selected items. Attached you can find a sample screenshot of what I need.
I tried to do that creating a custom column (https://docs.telerik.com/devtools/wpf/controls/radgridview/managing-data/how-to/howto-create-custom-editor).
This is an extract from the code of my custom column.
public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
{
var treeView = new RadTreeView
{
IsOptionElementsEnabled = true,
ItemsSource = TreeViewItemsSource,
ItemContainerStyle = TreeViewItemContainerStyle,
ItemTemplate = HierarchicalItemTemplate,
};
var dropDownButton = new RadDropDownButton
{
DropDownContent = treeView,
DropDownMaxHeight = 250,
};
//this.BindingTarget = ???;
return dropDownButton as FrameworkElement;
}
My question is how to bind the checked items of the TreeView to the BindingTarget dependency property of the GridViewBoundColumnBase in order to update the field of the data item bound to the column, once the cell edit is committed.
Thanks in advance.
Dear,
Binding 'Header' property to DataContext in a GridVewColumnGroup doesn't work. Public property is not requested to DataContext.
<telerik:GridViewColumnGroup Name="RangeColumn" Header="{Binding FirstDependencyName, FallbackValue=Nothing}" />
By other hand, a binding to StaticResource works property.
<telerik:GridViewColumnGroup Name="RangeColumn" Header="{Binding Source={StaticResource appResx}, Path=btn_Create}" />
In next example, public property is requested to DataContext (value is received tested with a converter), but surprisingly it is not displayed.
<telerik:GridViewColumnGroup Name="RangeColumn">
<telerik:GridViewColumnGroup.Header>
<TextBlock Text="{Binding FirstDependencyName, FallbackValue=Nothing}"/>
</telerik:GridViewColumnGroup.Header>
</telerik:GridViewColumnGroup>
<
Style
TargetType
=
"GanttView:ColumnHeaderContainer"
>
<
Setter
Property
=
"Foreground"
Value
=
"#3d3d3d"
/>
<
Setter
Property
=
"Background"
Value
=
"#C0C0C0"
/>
</
Style
>
I'm noticing that if I include a space in my search term it treats that as two search items, when I want it to just treat it as one long string. Is it possible to have the search function this way?
For example, let's say I have the following items in my MultiColumnComboBox.
If I type 'Big Lemur' in the text box, it doesn't narrow down my search to just Big Lemur. All 3 are matches. It appears to be searching on each word in my search phrase. I think I understand the difference between the different AutoCompleteMode settings, but none of them treat a multi-word search term as just one search value.
Having a weird issue with the calendar popup in DateTimePicker. I previously had a bug in my date/time parsing algorithm where it was taking years in the present or near future (2018-2025) and parsing them as 1918-1925. When you go in and attempt to fix this through the calendar control, you can't seem to correctly navigate to the 2000's.
Upon picking the 2010-2019 option in the first screenshot, it then takes you to the 1910-1919 collection. In this case, the control's SelectedValue is being bound to a Nullable<DateTime> with the date already set before form initialization. The property and object both implement the INotifyPropertyChanged interface/pattern. As you can see, the calendar uses the Windows8Touch theme.
Thanks for any guidance that can be provided.