Hi,
I am using RadGridView in my application. I have 4 GridViewDataColumns in my grid. I want one of column to hide ,So i set that column to IsVisible=false.
On Grid SelectionChanged event when i got the perticular GridViewRowItem., this row contain only 3 Columns (It does not contain the hidden column).
So can you Please help to get the hidden Column Value.
Thanks & Regards,
Anita.
I am using RadGridView in my application. I have 4 GridViewDataColumns in my grid. I want one of column to hide ,So i set that column to IsVisible=false.
On Grid SelectionChanged event when i got the perticular GridViewRowItem., this row contain only 3 Columns (It does not contain the hidden column).
So can you Please help to get the hidden Column Value.
Thanks & Regards,
Anita.
4 Answers, 1 is accepted
0
Hello Anita,
Vanya Pavlova
the Telerik team
Due to virtualization issues RadGridView can realize only the cells that are currently visible. You may get the values from the underlying business object, not from the UI. You may get access to the underlying business object using the DataContext property of the row, as it is shown below:
var businessObject = e.Row.DataContext
as
Employee;
//now you can read all the properties you need
Regards,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0

HL
Top achievements
Rank 1
answered on 07 Apr 2011, 05:58 PM
I have the same issue. so it is impossible to get the cell value from client side if the cell is invisible
Thanks
Helena
Thanks
Helena
0

HL
Top achievements
Rank 1
answered on 07 Apr 2011, 05:59 PM
I have the same issue. so it is impossible to get the cell value from client side if the cell is invisible
Thanks
Helena
Thanks
Helena
0
Hello,
Vlad
the Telerik team
You can use Items collection to access any value - no matter if you have visible column for this property or not. I'm not sure about the client-side - are you working with WPF?
Kind regards,Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items