in a medical context, I use a GridView to display on the first row the current exam data of the patient and on the others rows, the historicals exams data. When the user scroll through the historical, I need to have always the current exam visible on the first row. How it's possible???
Thank's
Alain
9 Answers, 1 is accepted
Currently, such functionality is not supported. The thing is that all rows are in a single ScrollViewer and are arranged one below the other. Thus there is no way to scroll only a particular set of rows and not the one above it.
Regards,
Maya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
do we have the flexibility to move a row at other position??? If so, probably I can catch the scroll of the RadGridView and ensure that my row is always visible?!?
Thank's
Alain
RadGridView is a virtualized control and as such, its visual elements are recycled and reused on scrolling. You cannot get one instance of GridViewRow and place it in a different place. The only thing is to control the order of the items in which they are displayed in the grid.
One possible way to go is to created pinned rows as illustrated in the "Frozen / Pinned rows in RadGridView for Silverlight" blog post. However, please keep in mind that this is just a showcase on how to do something and it is not something we support internally.
Regards,
Maya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
can we do this scenario with another control???
Thank's
Alain
There is no control that can support such functionality out-of-the-box. One thing that come to our mind is, if appropriate for your case, display your historical data in a hierarchy and have an external RowDetailsPresenter that will stay below/above the grid and have the current item displayed.
Will that work for your case ?
Regards,
Maya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
the pin row feature is more closer from what I'm trying to achieve :) I would like to know if it's possible to programmatically pin a row???
Thank's
Alain
The idea in the blog post is that the items that are pinned are removed from the Items of the grid and placed inside the other scrollViewer. You can check out the code in FrozenRowsBehavior class for further reference.
Regards,
Maya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
is it working in .Net 3.5???
Thank's
Alain
I believe there is nothing specific about .Net 4.0 or 4.5. But please keep in mind that we discontinued the support of .Net 3.5.
Regards,
Maya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.