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

Record navigation and grouping

5 Answers 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JDB
Top achievements
Rank 1
JDB asked on 06 Apr 2009, 07:34 AM
While trying to navigate the record collection programmatically, I found this thread: Record Navigation. This works well for me, unless when the data is grouped. This happens because the internal (hierarchical) structure of the Record collection changes. Is there some way to get an IndexOf when that happens, or am I better off trying to find it myself using recursion?

Thanks in advance

5 Answers, 1 is accepted

Sort by
0
Accepted
Milan
Telerik team
answered on 08 Apr 2009, 01:51 PM

Hi RVW,

Currently you would be better of using recursion when working with groups.

Sincerely yours,

Milan
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
JDB
Top achievements
Rank 1
answered on 08 Apr 2009, 02:04 PM
Hi Milan,

Thanks for your reply. I got a recursive implementation working like I need.

Will there be support for this in a future release?

Thanks in advance
0
Milan
Telerik team
answered on 10 Apr 2009, 10:10 AM
Hello RVW,

What kind of methods/properties, in your opinion,  would make your life easier when navigating through the collection of records?

All the best,
Milan
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
JDB
Top achievements
Rank 1
answered on 10 Apr 2009, 10:34 AM
Hi Milan,

For me, it would make it a lot easier if I can get all the (filtered) records regardless of any grouping. To do that now, I have to recursively traverse the Record Collection.

Navigation is probably the same. Either offer a MoveNext/Previous/First/Last method, or let the IndexOf ignore grouping.

The reason I chose for the telerik DataGrid is because of the performance with large datasets and grouping, but while trying to integrate it in our application and replacing the WPFDataGrid, suddenly easy task became a lot more complicated.

Nonetheless, we're still going to buy the WPF RadControls as soon as we're going to release the software, thanks for the great components :)
0
Milan
Telerik team
answered on 13 Apr 2009, 10:10 AM
Hello RVW,

Great feedback!
We will take into consideration your suggestions and work on improving our Records API.
Your telerik points have been updated.

Sincerely yours,
Milan
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
JDB
Top achievements
Rank 1
Answers by
Milan
Telerik team
JDB
Top achievements
Rank 1
Share this question
or