This question is locked. New answers and comments are not allowed.
Hello,
I'm using RadGridView and i want to disable cell click, only row selection to remain, or disable autoscroll in cell area.
How can i do that ?
Best regards,
Florin
I'm using RadGridView and i want to disable cell click, only row selection to remain, or disable autoscroll in cell area.
How can i do that ?
Best regards,
Florin
4 Answers, 1 is accepted
0
Hi Florin,
Didie
the Telerik team
I am not sure that I understand your question the right way.
1. I understand that you would like to have row click, without cell click. Do you want to keep the cells enabled? Generally the GridView always have a current cell, in order to have all the functionality related to the cell working without any problems. So, it would not be possible to remove setting a current cell when you click on the row.
2. Do you mean to prevent the cell from coming into view(with auto scrolling) when the cell is clicked?
If this is what you are asking for, then it would be not possible.
Does this answer your question?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
1
Florin
Top achievements
Rank 1
answered on 03 Aug 2011, 10:26 AM
Hello,
I mean the second item "prevent the cell from coming into view(with auto scrolling) when the cell is clicked".
A think i resolve the probleme using RadGridView event RequestBringIntoView
Best regards,
Florin
I mean the second item "prevent the cell from coming into view(with auto scrolling) when the cell is clicked".
A think i resolve the probleme using RadGridView event RequestBringIntoView
private
void
radGridView_RequestBringIntoView(
object
sender, RequestBringIntoViewEventArgs e)
{
if
((e.OriginalSource
as
GridViewScrollViewer) !=
null
)
{
ScrollViewer sv = e.OriginalSource
as
GridViewScrollViewer;
sv.ScrollToHorizontalOffset(sv.HorizontalOffset);
}
}
Best regards,
Florin
0
rashmi
Top achievements
Rank 1
answered on 09 Aug 2011, 11:05 AM
I was not able to find RequestBringIntoView event for grid view in silverlight. Can you tell me how did you resolved this issue.
0
Florin
Top achievements
Rank 1
answered on 10 Aug 2011, 02:54 PM
Hi rashmi,
Probably depends on the version of telerik components. I have use "RequestBringIntoView" event for WPF RadGridView. Maybe in Silverlight this event is not implemented.
Probably depends on the version of telerik components. I have use "RequestBringIntoView" event for WPF RadGridView. Maybe in Silverlight this event is not implemented.