Hello everyone!
I'm currently not sure how to implement a solution for this problem. I want a RadGridView which has the ability to select multiple items whether it's shift or ctrl clicks, but I once the items are selected, I want the user to be able to right click and make a selection in a menu. For instance, if a grid column is just a column to designate colors of each item, the user can select in the menu, change color and a window pops open and then they can select the color. Once the color is selected, then all the items that the user selected would be changed to that color. I understand I should use the RadContextMenu, but I'm not certain on how to use it with multiple selections.
Also, how can I make a custom column? For instance, I could just have a rectangle that would fill up and items cell and be a randomized color?
Thanks!
Hi,
I am quite new to both Telerik and XAML.
I am testing out Telerik controls and trying to create a simple application.
So far it is going ok, I have managed to create the layout I want, however there is a small thing bugging me. The color of the Header changes when a Pane gets focus. I am using Docking to define my application layout, and thus I don't really need this color change. Also, it appears the styles are different from when the RadPane is included in a DocumentHost or not.
My code looks like this:
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
telerik:RadMenuItem
Header
=
"Fil"
/>
<
telerik:RadMenuItem
Header
=
"Om"
/>
</
StackPanel
>
<
telerik:RadDocking
Grid.Row
=
"1"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Applikation"
CanUserClose
=
"False"
CanFloat
=
"False"
CanUserPin
=
"False"
ContextMenuTemplate
=
"{x:Null}"
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedLeft"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Menu"
CanUserClose
=
"False"
CanFloat
=
"False"
CanUserPin
=
"False"
ContextMenuTemplate
=
"{x:Null}"
>
<
telerik:RadTreeView
>
<
telerik:RadTreeViewItem
Header
=
"Sport Categories"
IsExpanded
=
"True"
>
<
telerik:RadTreeViewItem
Header
=
"Football"
IsExpanded
=
"True"
>
<
telerik:RadTreeViewItem
Header
=
"Futsal"
/>
<
telerik:RadTreeViewItem
Header
=
"Soccer"
/>
</
telerik:RadTreeViewItem
>
<
telerik:RadTreeViewItem
Header
=
"Tennis"
/>
<
telerik:RadTreeViewItem
Header
=
"Cycling"
/>
</
telerik:RadTreeViewItem
>
</
telerik:RadTreeView
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedBottom"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Output"
CanUserClose
=
"False"
CanFloat
=
"False"
CanUserPin
=
"False"
ContextMenuTemplate
=
"{x:Null}"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
</
Grid
>
So want I want is either to remove the heading color altogether (as seen in the attached screenshot where "Menu" is blue) or change "Applikation" to have the same behavior as "Menu", i.e. is not underlined, but have a solid heading when in focus like the one "Menu" has.
Best regards
Andreas
Hello!
I have two problem,
1:
Is there some method to Drag & drop only in parent gridview self and Hierarchy gridview self?
for eg.
p1
sub1
sub2
sub3
p2
sub4
sub5
sub6
p3
sub7
sub8
sub9
can we Drag & drop only between p1,p2,p3 for order
and Drag & drop only between sub1 sub2 sub3…
2.
Is there some method to Drag & drop only in parent gridview self and gridview in RowDetailsTemplate self?
It is a big forever If you can provide a sample! thanks a lot!!
Hi,
I am developing a control which contains a GridView. Some of the
items can have sub items which are assigned to another GridView which is
the HierarchyChildTemplate of the main GridView.
How can I implement a drag and drop functionality between the main GridView and the child GridView and vice versa.
Thanks.
Best regards
Peter
I am currently editing a project that was carried out by another developer (not available).
I am trying to edit a report that uses pie charts, and I need to make all the pie charts the same size (with a constant radius) but I still haven't find a way to do so.
The report only uses a .resx and a .cs files.
Is there any property that can be used to set the radius constant? Where is it located?
Thanks in advance.
I want to use RowDetails in the grid. So I want to put a toggle button on the first column, click it will expand or collapse. The question is that I click it the selected Item is not bind. It seems that button is not belonging to the selectedItemUnless I click somewhere else on the row.
Not sure..how? Sorry I can't provide sample code now...