thanks for your reply. Unfortunately Items does not respect pinned rows. When a row is pinned by the user and appears as first item (or last, depending on PinnedRowsPosition), the position of the pinned row does not change in Items.
What you could try to get the current visible pinned rows is to bind the IsPinned property of the GridViewRow. You can create Implicit Style to bind the IsPinned property to custom one from your business objects. Then you can loop the Items collection for items which have this property set to true.
I have a feeling that you want to get the current position of the pinned rows. I have searched for a possible solution and I think I manage to found one. What you can do is to add GridViewPinRowColumn. Inside this column, there is a GridViewPinButton. You can subscribe to its Click event using AddHandler() method and create a custom collection which will hold the pinned rows and the orders which they're a pinned. I have created a sample project which demonstrates this approach. You just need to implement the logic inside the Click event handler.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.