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

How to disable sorting of child rows in self referencing grid?

3 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 15 Mar 2011, 07:53 PM
Hi,

I'm using a grid with self-referencing. I want to sort only the parent rows, not the child rows. Is it possible?

Thanks,
Andy

3 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 15 Mar 2011, 10:31 PM
Hello,

Because the data all comes from a single source in a self referencing hirarchy, as far as I know this is not supported. You would need to provide separate data sources and add child templates and relations in order to do this.

You may be interested to know that from the Q1 2011 release that is due out at the end of this week, it will be possible to mix self-referencing hierarchy with a standard hierarchy.

Hope that helps but let me know if you have further questions
Thanks
Richard
0
Andy
Top achievements
Rank 1
answered on 15 Mar 2011, 10:56 PM
Richard,

Thank you for your response. I couldn't figure out how to use a child template and relation to archive the same look of a self-referencing grid. Do you know of a trick to do this? Can I do that with mixing self-referencing and standard hierarchy?

Thanks,
Andy
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 15 Mar 2011, 11:50 PM
Hi Andy,

First of all, please have a look at the help topic on binding programatically to hierarchical data. Once you have added your hierarchical data and child templates and relations then you can treat the child template just as you would treat the master template and remove the header row if you wish and so on. However, standard hierarchy grids do look a little different to those that are self referencing.

The mixing of self referencing hierarchy and standard hierarchy (mixed mode hierarchy) is due out in the upcoming release (Q1 2011) which is coming at the end of the current week. You can learn more about this mixed mode hierarchy by reading up on this blog post.

You may also be interested in registering for the webinar week where you will be able to see live webinar demos of all the new features coming in this new release.

I hope that this helps, but let me know if you need more info.
Thanks
Richard
Tags
GridView
Asked by
Andy
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Andy
Top achievements
Rank 1
Share this question
or