<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Interesting UI problem!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Interesting UI problem!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 16 May 2026 19:15:17 +0000</pubDate>
  <lastBuildDate>Wed, 02 Jun 2010 15:20:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16710</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Interesting UI problem! : ReportControl will sort for you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16710&amp;PID=58779&amp;title=interesting-ui-problem#58779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3709">ReyesRP</a><br /><strong>Subject:</strong> 16710<br /><strong>Posted:</strong> 02 June 2010 at 3:20pm<br /><br />ReportControl will sort for you but you can also control the sort programmatically. So, I would say load the RC in your DBMS order, set the sort column when a column header is clicked but add a third setting to clear the sort column which will restore the sort order (basically record load order) that the RC was loaded with. So it would be something like click on the column header once for ascending, again for descending, and again for none. I don't use the column header as my sort UI but it seems like that would work... <DIV>&nbsp;</DIV><DIV>Maybe you are talking about something more complex like also having a "reload the RC" UI that clears the RC sort column and reloads the RC with the records in a different order so that the default order is different... </DIV>]]>
   </description>
   <pubDate>Wed, 02 Jun 2010 15:20:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16710&amp;PID=58779&amp;title=interesting-ui-problem#58779</guid>
  </item> 
  <item>
   <title><![CDATA[Interesting UI problem! : Consider this application. You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16710&amp;PID=58515&amp;title=interesting-ui-problem#58515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16710<br /><strong>Posted:</strong> 15 May 2010 at 1:42pm<br /><br />Consider this application. You have a report control with a number of (groupable) fields. The data is fetched from a database. <DIV>&nbsp;</DIV><DIV>Now, when the user clicks Column A, he expects the fetched data to be sorted by A. That's easy. You simply perform an "ORDER BY" at the selected column. However, sometimes you really want to sort the data presented in the GUI. Hence, it makes sense to sort the visible rows - by clicking the column header. That becomes a problem!</DIV><DIV>&nbsp;</DIV><DIV>How do you combine the best of two worlds? How do you allow the user to sort both the fetched data and the data visible in the GUI? And more importantly, how do you accomplish this with the CJ report control?</DIV><DIV>&nbsp;</DIV><DIV>I'm thinking of sorting the database data when certain columns are clicked. E.g. "Date". However, that yields unintuitive UI <img src="http://forum.codejock.com/smileys/smiley13.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV>]]>
   </description>
   <pubDate>Sat, 15 May 2010 13:42:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16710&amp;PID=58515&amp;title=interesting-ui-problem#58515</guid>
  </item> 
 </channel>
</rss>