Hi,
I have couple of things about the RadGridView in particular. I have created a Radgidview in following way:-
This user control resides inside a ScrollViewer(which is inside a GroupBox) in the topmost Page.
The first thing is when I access column name using GridViewCellInfo.Column.UniqueName in code-behind, it returns the string from Binding Path, I was expecting the value from the header name. Is there any way to get the header value or name element.
Other thing, when the radgridview contains many elements and scrolled down, I want the header row to be fixed and only its contained elements to be scrolled. How can I achieve this.
When a mouse rollover occurs over some particular elements of RadgidView, I want to change the visibility of them as hyperlinks(some underline bar appears and color changes to blue) to show that these elements are clickable (I am handling Selected event). Is there any property over some column that I set.
Thanks,
Mark
I have couple of things about the RadGridView in particular. I have created a Radgidview in following way:-
<
UserControl
x:Class
=
"MySampleClass"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:RadGridView
Grid.Column
=
"0"
Grid.Row
=
"0"
x:Name
=
"MainGridView"
ItemsSource
=
"{Binding Path=MetricsData}"
AutoGenerateColumns
=
"False"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
ShowGroupPanel
=
"False"
RowIndicatorVisibility
=
"Visible"
SelectionMode
=
"Extended"
SelectionUnit
=
"Cell"
IsFilteringAllowed
=
"False"
SelectedCellsChanged
=
"MainGridView_SelectedCellsChanged"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"ColA"
Name
=
"Mkt"
DataMemberBinding
=
"{Binding Path=Market, Mode=OneWay}"
IsResizable
=
"False"
IsSortable
=
"False"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
Header
=
"ColB"
Name
=
"SiD"
DataMemberBinding
=
"{Binding Path=Sub1, Mode=OneWay}"
IsResizable
=
"False"
IsSortable
=
"False"
IsReadOnly
=
"True"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
UserControl
>
This user control resides inside a ScrollViewer(which is inside a GroupBox) in the topmost Page.
The first thing is when I access column name using GridViewCellInfo.Column.UniqueName in code-behind, it returns the string from Binding Path, I was expecting the value from the header name. Is there any way to get the header value or name element.
Other thing, when the radgridview contains many elements and scrolled down, I want the header row to be fixed and only its contained elements to be scrolled. How can I achieve this.
When a mouse rollover occurs over some particular elements of RadgidView, I want to change the visibility of them as hyperlinks(some underline bar appears and color changes to blue) to show that these elements are clickable (I am handling Selected event). Is there any property over some column that I set.
Thanks,
Mark