This is a migrated thread and some comments may be shown as answers.

Selecting Last inserted Row, Scrolling into view

3 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 25 Jan 2011, 05:52 PM
I followed the example Selecting Last Inserted Item which seems to work pretty well, but only if I have paging enabled.
 
If I disable paging and UseStaticHeaders="false" it works.
If I disable paging and UseStaticHeaders="true" it does not work.

Should it be scrolling the item into view with UseStaticHeaders="true"?

What is the best workaround for this, to get the selected item into view when UseStaticHeaders="true"

Thanks in advance

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 28 Jan 2011, 02:10 PM
Hi Roger,

There is help topic about Scrolling to the selected item, that will work with Static Headers.

Kind regards,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Roger
Top achievements
Rank 1
answered on 28 Jan 2011, 04:18 PM
So I assume that it's not built in to scroll to the selected row when using static headers?

It would be nice to have that as an option,  something like

<

 

Scrolling AllowScroll="true" ScrollHeight="100%" UseStaticHeaders="true" ScrollSelectedRowIntoView="True" />

 



0
Vasil
Telerik team
answered on 02 Feb 2011, 04:39 PM
Hello Roger,

Yes, it is not built-in. And it probably should not be. Because if you have multi-row selection enabled, it is not known which of all the selected rows have to be visible (first, last, last selected).

Regards,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Roger
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Roger
Top achievements
Rank 1
Share this question
or