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

[Solved] Item vs Records vs Row

1 Answer 138 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Virendra
Top achievements
Rank 1
Virendra asked on 30 Apr 2009, 10:18 AM
Hi,
what is the diffrence between item,record and row?
and
what is deffrence between current and selected?

Thanks
virendra

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 01 May 2009, 12:23 PM
Hello Virendra,

A row is a visual representation of a data object. For example, if you bind RadGridView to a list of strings every string in the list will be represented by a row (usually the GridViewRow) UI object. The individual strings in the list are also called data items or just items.

So what are records? The records are wrappers around the data source items - for every data item there is a corresponding data record. Records allow us to store additional info about the original data items. For instance, our DataRecord class has a property IsSelected which determines if its underlying data is selected. Also, the our DataRecord has a property called Data that returns the actual data element.

The current record is the record that has focus. Here you can find more information - http://www.telerik.com/help/silverlight/gridview-selecting-current-row.html 

Kind regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Virendra
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or