but if i group RadGrid then the Selected index of RadGrid does not change
if i change also still hold the previousSelected index
how to solve this
5 Answers, 1 is accepted
answered on 13 Apr 2011, 04:45 PM
Hi Sivaprakas Subramanian,
The described behavior is expected and by design. I do not recommend using an index to navigate through the rows, because it is not relevant when data operations such as grouping, sorting or filtering are applied. I suggest using the grid navigator. It allows going forward or backward in the rows collection. Please consider the code snippet below:
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items
ur solution working fine
can u tell me how can i disable Previous and Next Button mean how can i know current row is Previous row of last row
answered on 20 Apr 2011, 11:46 AM
Hi Sivaprakas ,
You can use IsFirstRow and IsLastRow methods of GridNavigator:
All the best,
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
RadGridView.GridNavigator property gets an instance of BaseGridNavigator or the instance that implements IGridNavigator interface.
The following code snippet demonstrates how to navigate the selected cell according to the attached picture.
I hope this information helps. Should you have further questions, I would be glad to help.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>