﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Tue, 02 Nov 2010 04:50:33 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Yes! This is what was missing. Thanks a lot!&lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Tue, 02 Nov 2010 04:38:10 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Hello Eric,&lt;/p&gt;
&lt;p&gt;I am sorry for the late response. I think you were missing to apply sorting for the child level.&lt;br /&gt;In selfReference, you could not apply the normal sorting. You would need to &lt;strong&gt;ApplyChildSorting&lt;/strong&gt; properties in selfReference scenario.&lt;br /&gt;&lt;br /&gt;e.g in grdResult_Init, please add this following settings.&lt;/p&gt;&lt;pre&gt;  grdResult.RootTable.SelfReferencingSettings.ApplyChildSorting = True&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Mon, 01 Nov 2010 09:09:11 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Any updates yet?&lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Mon, 25 Oct 2010 06:03:03 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Hello Eric,&lt;/p&gt;&lt;p&gt;Your issue is under investigation. I will let you know asap.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Fri, 22 Oct 2010 10:09:57 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;
&lt;p&gt;I know how the CustomSort works. Thanks for this suggestion anyway. But my problem is that it doesn't sort at all, not even alphabetically.&lt;/p&gt;
&lt;p&gt;I'm not sure which sample you mean. I cannot find samples on your homepage. So I went to search on what was installed with your product. There is no installation, but I found a tutorial with some samples. In the folder C:\Program Files\Intersoft Solutions\WebGrid.NET 6.0\Tutorials\WG60TutorialsVB\V5.0 I found a sample called SelectSelfRefChildRow.aspx, which would be the most closest to what I want. But that sample has sorting disabled.&lt;/p&gt;
&lt;p&gt;The other three samples there that begin all with Hierarchical_... all have sub-tables with separate titles. This is not what I need.&lt;/p&gt;
&lt;p&gt;If you look at my sample here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.intersoftpt.com/Community/WebGrid/Design-question-How-to-add-OnClick-Handler-on-a-field-in-WebGrid/"&gt;http://www.intersoftpt.com/Community/WebGrid/Design-question-How-to-add-OnClick-Handler-on-a-field-in-WebGrid/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and take the MergeButtonSample_v3.zip, and open the file DBCalls.vb and in Sub AddRow add this code:&lt;/p&gt;&lt;pre&gt;r("R_a") = Rnd()
r("R_b") = Rnd()
r("V_a") = Rnd()
r("V_b") = Rnd()
&lt;/pre&gt;
&lt;p&gt;just before the If Not ParentBlockId...&lt;/p&gt;
&lt;p&gt;Then run the sample and try sorting on any field. You can see that the sort-triangels appear in the header, but nothing gets sorted. This is what I meant.&lt;/p&gt;
&lt;p&gt;Does this work with a newer WebGrid or do I have to write code for this? If code, then how?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Fri, 22 Oct 2010 09:38:01 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Hello Eric,&lt;/p&gt;&lt;p&gt;Our hierachical sample, you should be able to do sorting in their child. Same result should show in LoadOnDemand scenario.&lt;br /&gt;At least we need to replicate your issue. Is it possible for you to send me a simple sample that replicates your issue?&lt;br /&gt;FYI, you can also apply a customSort. Please open our WebGrid documentation and search about "CustomSort". &lt;br /&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Does new WebGrid support sorting?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Does-new-WebGrid-support-sorting/</link><pubDate>Fri, 22 Oct 2010 04:01:28 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>Hierarchical</category><category>Hierarchical Grid</category><category>sort</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We have a WebGrid which hierarchical content (tree like), loading subnodes on demand. Sorting is enabled. When clicking on the header, the sort up, sort down arrows appear, but the content is not resorted - nothing happens.&lt;/p&gt;
&lt;p&gt;I would like to get the content resorted, only within each node of course. How would I do this?&lt;/p&gt;
&lt;p&gt;We are using WebGrid version 6.0.7200.220 and I wonder if this is supported in a newer version and it would be worth upgrading. Please tell me if a newer version supports this natively. If not, how should I implement this?&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item></channel></rss>