atLoad method now called internally by each widget, no need to call externally. Tweak...
authorMatt Brown <dowdybrown@yahoo.com>
Tue, 28 Jun 2011 04:17:04 +0000 (04:17 +0000)
committerMatt Brown <dowdybrown@yahoo.com>
Tue, 28 Jun 2011 04:17:04 +0000 (04:17 +0000)
git-svn-id: svn://svn.code.sf.net/p/openrico/code/trunk/rico3@93 53df2df2-7ab5-4331-af62-ea79255fa4e2

38 files changed:
bin/Rico.dll
bin/Rico.xml
documentation/ChangesSinceRico2.txt [new file with mode: 0644]
documentation/menu.html
examples/ChangesSinceRico2.txt [deleted file]
examples/asp/widgets.asp
examples/browserdetect.html [deleted file]
examples/data/population.xml [new file with mode: 0644]
examples/demo.css
examples/dotnet/ex1.aspx [deleted file]
examples/dotnet/ex2notheme.aspx
examples/dotnet/gridFromTable.aspx [new file with mode: 0644]
examples/dotnet/menu.aspx
examples/dotnet/widgets.aspx
examples/dotnet/widgetsRTL.aspx
examples/html/gridFromTable.html
minsrc/rico.js
minsrc/ricoCalendar.js
minsrc/ricoColorPicker.js
minsrc/ricoLiveGrid.js
minsrc/ricoLiveGridAjax.js
minsrc/ricoLiveGridForms.js
minsrc/ricoLiveGridMenu.js
minsrc/ricoLocale_en.js
minsrc/ricoSearch.js
minsrc/ricoTree.js
minsrc/ricoUI.js
ricoClient/css/coffee-with-milk.css
ricoClient/css/grayedout.css
ricoClient/css/greenHdg.css
ricoClient/css/rico.css
ricoClient/js/ricoLocale_de.js
ricoClient/js/ricoLocale_es.js
ricoClient/js/ricoLocale_fr.js
ricoClient/js/ricoLocale_it.js
ricoClient/js/ricoLocale_ru.js
ricoClient/js/ricoLocale_zh.js
ricoClient/js/rico_min.js

index 6f25d9e..63c9dcc 100644 (file)
Binary files a/bin/Rico.dll and b/bin/Rico.dll differ
index d0f757a..2f6dffc 100644 (file)
@@ -303,6 +303,15 @@ Rico
        <summary>\r
  Base class for a LiveGrid column\r
  </summary>\r
+</member><member name="P:Rico.LiveGrid.BufferType">\r
+       <summary>\r
+ The type of buffer deployed on the client\r
+ <list>\r
+                       <item><description>AjaxSQL - data source is a SQL database query</description></item>\r
+                       <item><description>AjaxLoadOnce - data is loaded once from a remote source, such as an XML file</description></item>\r
+                       <item><description>Base - data is static, loaded from either an html table or javascript array</description></item>\r
+               </list>\r
+       </summary>\r
 </member><member name="P:Rico.LiveGrid.formVar">\r
        <summary>\r
  name of Javascript object containing LiveGrid Edit\r
diff --git a/documentation/ChangesSinceRico2.txt b/documentation/ChangesSinceRico2.txt
new file mode 100644 (file)
index 0000000..8626f76
--- /dev/null
@@ -0,0 +1,110 @@
+Rico has undergone some major changes in version 3.0. Goals for this version
+included:
+
+1) More themes of higher quality. This was achieved by making Rico compatible
+with jQuery Themeroller. Even better, the use of Themeroller themes does not require
+the use of jQuery. LiveGrid striping is defined for all of the Rico AND Themeroller
+themes.
+
+2) Break Rico's dependence on Prototype. Rico can still run with Prototype,
+but it can also run with jQuery, MooTools, dojo, ext (core), or Glow.
+Adaptors to each base library provide a common calling convention
+within the Rico environment. All references to Class.create and Function.bind
+have been removed from Rico.
+
+3) Reduce Rico's impact on the global namespace to 2 symbols - Rico and Rico_CONFIG.
+RicoUtil, RicoTranslate and several other namespaces have been folded into
+the Rico namespace. Date, String, and Number prototypes have been removed.
+
+4) More deeply integrate JSON support. All server plugins can now selectively generate
+XML or JSON output.
+
+5) Better LiveGrid export to Excel. LiveGrids with an SQL data source can now 
+export directly to MS Excel on all client browsers. More style information
+is preserved in the export.
+
+6) When loading a LiveGrid with SQL data, support a mode where server variables 
+are not required to process the AJAX calls.
+
+7) Eliminate fixed point fonts, so the grid and all widgets scale with font size.
+
+
+Methods and properties previously defined in RicoCommon.js:
+-----------------------------------------------------------
+RicoUtil.getDirectChildrenByTag -> Rico.getDirectChildrenByTag (now defined in each adaptor file)
+RicoUtil.createXmlDocument -> Rico.createXmlDocument (now defined in rico.js)
+RicoUtil.getInnerText -> Rico.getInnerText (now defined in rico.js)
+RicoUtil.getContentAsString -> Rico.getContentAsString (now defined in rico.js)
+RicoUtil.docElement (removed)
+RicoUtil.windowHeight  -> Rico.windowHeight  (now defined in each adaptor file)
+RicoUtil.windowWidth   -> Rico.windowWidth   (now defined in each adaptor file)
+RicoUtil.docScrollLeft -> Rico.docScrollLeft (now defined in each adaptor file)
+RicoUtil.docScrollTop  -> Rico.docScrollTop  (now defined in each adaptor file)
+RicoUtil.nan2zero -> Rico.nan2zero (now defined in rico.js)
+RicoUtil.eventKey -> Rico.eventKey (now defined in each adaptor file)
+RicoUtil.getPreviosSiblingByTagName -> Rico.getPreviosSiblingByTagName (now defined in rico.js)
+RicoUtil.getParentByTagName -> Rico.getParentByTagName (now defined in rico.js)
+RicoUtil.wrapChildren -> Rico.wrapChildren (now defined in rico.js)
+RicoUtil.DOMNode_insertAfter (removed)
+RicoUtil.positionCtlOverIcon -> Rico.positionCtlOverIcon (now defined in rico.js)
+RicoUtil.createFormField -> Rico.createFormField (now defined in rico.js)
+RicoUtil.addSelectOption -> Rico.addSelectOption (now defined in rico.js)
+RicoUtil.getCookie -> Rico.getCookie (now defined in rico.js)
+RicoUtil.setCookie -> Rico.setCookie (now defined in rico.js)
+
+RicoTranslate.thouSep    -> Rico.thouSep    (now defined in rico.js)
+RicoTranslate.decPoint   -> Rico.decPoint   (now defined in rico.js)
+RicoTranslate.langCode   -> Rico.langCode   (now defined in rico.js)
+RicoTranslate.dateFmt    -> Rico.dateFmt    (now defined in rico.js)
+RicoTranslate.timeFmt    -> Rico.timeFmt    (now defined in rico.js)
+RicoTranslate.monthNames -> Rico.monthNames (now defined in rico.js)
+RicoTranslate.dayNames   -> Rico.dayNames   (now defined in rico.js)
+RicoTranslate.monthAbbr  -> Rico.monthAbbr  (now defined in rico.js)
+RicoTranslate.dayAbbr    -> Rico.dayAbbr    (now defined in rico.js)
+RicoTranslate.addPhrase (removed)
+RicoTranslate.getPhrase (removed)
+RicoTranslate.addPhraseId   -> Rico.addPhraseId   (now defined in rico.js)
+RicoTranslate.getPhraseById -> Rico.getPhraseById (now defined in rico.js)
+
+RicoUtil.formatPosNumber -> Rico.formatPosNumber (now defined in rico.js)
+Date.prototype.setISO8601 -> Rico.setISO8601 (now defined in rico.js)
+String.prototype.toISO8601Date -> Rico.setISO8601 (now defined in rico.js)
+Date.prototype.toISO8601String -> Rico.toISO8601String (now defined in rico.js)
+Date.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
+String.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
+Number.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
+String.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
+
+Rico.Shim -> now part of Rico.Popup (defined in ricoUI.js)
+Rico.Shadow -> removed, Rico 3 uses the native shadow capabilities of each browser (shadow filter for IE 5-8)
+Rico.Popup -> split into Rico.Popup and Rico.Window  (now defined in ricoUI.js)
+
+
+
+Methods and properties previously defined in ricoMenu.js:
+---------------------------------------------------------
+Rico.Menu -> no change (now defined in ricoUI.js)
+
+
+
+Methods and properties previously defined in ricoBehaviors.js:
+--------------------------------------------------------------
+Rico.selectionSet -> no change (now defined in ricoUI.js)
+Rico.HoverSet -> no change (now defined in ricoUI.js)
+Rico.Hover (removed)
+Rico.HoverDisplay (removed)
+Rico.EventWrapper (removed)
+
+
+
+Methods and properties previously defined in ricoStyles.js:
+-----------------------------------------------------------
+Rico.Color -> now defined in ricoUI.js, gradient methods were removed
+Rico.Corner -> no change (now defined in ricoUI.js)
+
+
+
+Methods and properties defined in ricoLiveGridAjax.js:
+------------------------------------------------------
+Rico.Buffer.AjaxXML -> renamed to Rico.Buffer.AjaxLoadOnce (clearer name, since it can be used to load JSON or XML data)
+
index 195b567..b6519ee 100644 (file)
@@ -49,6 +49,7 @@ ul li {
 <li><a href="LiveGridForms.html">Using LiveGrid Forms</a>\r
 <li><a href="LiveGridAjax.html">LiveGrid AJAX request &amp; response formats</a>\r
 <li><a href="translations.html">Multiple language support</a>\r
+<li><a href="ChangesSinceRico2.txt">Summary of changes from Rico 2 to Rico 3</a>\r
 </ul>\r
 </div>\r
 \r
diff --git a/examples/ChangesSinceRico2.txt b/examples/ChangesSinceRico2.txt
deleted file mode 100644 (file)
index 5f9a015..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-Rico has undergone some major changes in version 3.0. Goals for this version
-included:
-
-1) More themes of higher quality. This was achieved by making Rico compatible
-with jQuery Themeroller. Even better, the use of Themeroller themes does not require
-the use of jQuery. LiveGrid striping is defined for all of the Rico AND Themeroller
-themes.
-
-2) Break Rico's dependence on Prototype. Rico can still run with Prototype,
-but it can also run with jQuery, MooTools, dojo, ext (core), or Glow.
-Adaptors to each base library provide a common calling convention
-within the Rico environment.
-
-3) Reduce Rico's impact on the global namespace to a single symbol - Rico.
-RicoUtil, RicoTranslate and several other namespaces have been folded into
-the Rico namespace. Date, String, and Number prototypes have been removed.
-
-4) More deeply integrate JSON support. All server plugins can now selectively generate
-XML or JSON output.
-
-5) Better LiveGrid export to Excel. LiveGrids with an SQL data source can now 
-export directly to MS Excel on all client browsers.
-
-6) When loading a LiveGrid with SQL data, support a mode where server variables 
-are not required to process the AJAX calls.
-
-
-Methods and properties previously defined in RicoCommon.js:
------------------------------------------------------------
-RicoUtil.getDirectChildrenByTag -> Rico.getDirectChildrenByTag (now defined in each adaptor file)
-RicoUtil.createXmlDocument -> Rico.createXmlDocument (now defined in rico.js)
-RicoUtil.getInnerText -> Rico.getInnerText (now defined in rico.js)
-RicoUtil.getContentAsString -> Rico.getContentAsString (now defined in rico.js)
-RicoUtil.docElement (removed)
-RicoUtil.windowHeight  -> Rico.windowHeight  (now defined in each adaptor file)
-RicoUtil.windowWidth   -> Rico.windowWidth   (now defined in each adaptor file)
-RicoUtil.docScrollLeft -> Rico.docScrollLeft (now defined in each adaptor file)
-RicoUtil.docScrollTop  -> Rico.docScrollTop  (now defined in each adaptor file)
-RicoUtil.nan2zero -> Rico.nan2zero (now defined in rico.js)
-RicoUtil.eventKey -> Rico.eventKey (now defined in each adaptor file)
-RicoUtil.getPreviosSiblingByTagName -> Rico.getPreviosSiblingByTagName (now defined in rico.js)
-RicoUtil.getParentByTagName -> Rico.getParentByTagName (now defined in rico.js)
-RicoUtil.wrapChildren -> Rico.wrapChildren (now defined in rico.js)
-RicoUtil.DOMNode_insertAfter (removed)
-RicoUtil.positionCtlOverIcon -> Rico.positionCtlOverIcon (now defined in rico.js)
-RicoUtil.createFormField -> Rico.createFormField (now defined in rico.js)
-RicoUtil.addSelectOption -> Rico.addSelectOption (now defined in rico.js)
-RicoUtil.getCookie -> Rico.getCookie (now defined in rico.js)
-RicoUtil.setCookie -> Rico.setCookie (now defined in rico.js)
-
-RicoTranslate.thouSep    -> Rico.thouSep    (now defined in rico.js)
-RicoTranslate.decPoint   -> Rico.decPoint   (now defined in rico.js)
-RicoTranslate.langCode   -> Rico.langCode   (now defined in rico.js)
-RicoTranslate.dateFmt    -> Rico.dateFmt    (now defined in rico.js)
-RicoTranslate.timeFmt    -> Rico.timeFmt    (now defined in rico.js)
-RicoTranslate.monthNames -> Rico.monthNames (now defined in rico.js)
-RicoTranslate.dayNames   -> Rico.dayNames   (now defined in rico.js)
-RicoTranslate.monthAbbr  -> Rico.monthAbbr  (now defined in rico.js)
-RicoTranslate.dayAbbr    -> Rico.dayAbbr    (now defined in rico.js)
-RicoTranslate.addPhrase (removed)
-RicoTranslate.getPhrase (removed)
-RicoTranslate.addPhraseId   -> Rico.addPhraseId   (now defined in rico.js)
-RicoTranslate.getPhraseById -> Rico.getPhraseById (now defined in rico.js)
-
-RicoUtil.formatPosNumber -> Rico.formatPosNumber (now defined in rico.js)
-Date.prototype.setISO8601 -> Rico.setISO8601 (now defined in rico.js)
-String.prototype.toISO8601Date -> Rico.setISO8601 (now defined in rico.js)
-Date.prototype.toISO8601String -> Rico.toISO8601String (now defined in rico.js)
-Date.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
-String.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
-Number.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
-String.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
-
-Rico.Shim -> no change (now defined in ricoUI.js)
-Rico.Shadow -> no change (now defined in ricoUI.js)
-Rico.Popup -> split into Rico.Popup and Rico.Window  (now defined in ricoUI.js)
-
-
-
-Methods and properties previously defined in ricoMenu.js:
----------------------------------------------------------
-Rico.Menu -> no change (now defined in ricoUI.js)
-
-
-
-Methods and properties previously defined in ricoBehaviors.js:
---------------------------------------------------------------
-Rico.selectionSet -> no change (now defined in ricoUI.js)
-Rico.HoverSet -> no change (now defined in ricoUI.js)
-Rico.Hover (removed)
-Rico.HoverDisplay (removed)
-Rico.EventWrapper (removed)
-
-
-
-Methods and properties previously defined in ricoStyles.js:
------------------------------------------------------------
-Rico.Color -> removed gradient functions (now defined in ricoUI.js)
-Rico.Corner -> no change (now defined in ricoUI.js)
index 0704495..dfeb0f0 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
 <html>\r
 <head>\r
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">\r
+<meta http-equiv="content-type" content="text/html; charset=utf-8">\r
 <title>Rico widgets styled user-selectable themes</title>\r
 \r
 <!-- #INCLUDE FILE = "../../plugins/asp/LoadRicoClient.asp" -->\r
@@ -51,13 +51,10 @@ function openWindow(btn) {
 <link href="../demo.css" type="text/css" rel="stylesheet" />\r
 <style type="text/css">\r
 #accExample {\r
-  width: 25em;\r
+  width: 27em;\r
 }\r
 #tabsExample {\r
-  width: 25em;\r
-}\r
-body > div.ui-dialog {\r
-  font-size: 80%;\r
+  width: 30em;\r
 }\r
 div.ricoLG_cell {\r
   white-space:nowrap;\r
@@ -374,7 +371,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--\r
 <br>I took the one less traveled by,\r
 <br>And that has made all the difference.\r
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
      </div>\r
   </div>\r
 \r
@@ -420,7 +417,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--\r
 <br>I took the one less traveled by,\r
 <br>And that has made all the difference.\r
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
      </div>\r
   </div>\r
 \r
diff --git a/examples/browserdetect.html b/examples/browserdetect.html
deleted file mode 100644 (file)
index 1f4efcf..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-
-<title>Rico Browser Detection</title>
-
-<script src='ricoClient/js/rico.js' type='text/javascript'></script>
-
-<link href="demo.css" type="text/css" rel="stylesheet" />
-</head>
-
-<body>
-
-<div id='explanation'>
-<h1>Rico: Browser detection</h1>
-<hr>
-<p><script type='text/javascript'>
-document.write(navigator.userAgent);
-</script>
-<p>isIE: <script type='text/javascript'>
-document.write(Rico.isIE);
-</script>
-<p>ieVersion: <script type='text/javascript'>
-document.write(Rico.ieVersion);
-</script>
-<p>isOpera: <script type='text/javascript'>
-document.write(Rico.isOpera);
-</script>
-<p>isWebKit: <script type='text/javascript'>
-document.write(Rico.isWebKit);
-</script>
-<p>isGecko: <script type='text/javascript'>
-document.write(Rico.isGecko);
-</script>
-</div>
-
-
-</body>
-</html>
diff --git a/examples/data/population.xml b/examples/data/population.xml
new file mode 100644 (file)
index 0000000..67180e0
--- /dev/null
@@ -0,0 +1,233 @@
+<?xml version='1.0' encoding='iso-8859-1'?>
+<ajax-response><response type="object"><rows update_ui="true" offset="0">
+ <tr><td>Afghanistan</td><td>8151</td><td>28150</td><td>34246</td><td>44970</td><td>73938</td> </tr>
+ <tr><td>Albania</td><td>1215</td><td>3155</td><td>3256</td><td>3395</td><td>3303</td> </tr>
+ <tr><td>Algeria</td><td>8753</td><td>34895</td><td>38088</td><td>42882</td><td>49610</td> </tr>
+ <tr><td>American Samoa</td><td>19</td><td>67</td><td>74</td><td>86</td><td>107</td> </tr>
+ <tr><td>Andorra</td><td>6</td><td>86</td><td>93</td><td>107</td><td>137</td> </tr>
+ <tr><td>Angola</td><td>4148</td><td>18498</td><td>21690</td><td>27441</td><td>42267</td> </tr>
+ <tr><td>Anguilla</td><td>5</td><td>15</td><td>17</td><td>18</td><td>20</td> </tr>
+ <tr><td>Antigua and Barbuda</td><td>46</td><td>88</td><td>93</td><td>101</td><td>112</td> </tr>
+ <tr><td>Argentina</td><td>17150</td><td>40276</td><td>42548</td><td>45883</td><td>50943</td> </tr>
+ <tr><td>Armenia</td><td>1354</td><td>3083</td><td>3139</td><td>3181</td><td>3018</td> </tr>
+ <tr><td>Aruba</td><td>38</td><td>107</td><td>109</td><td>112</td><td>106</td> </tr>
+ <tr><td>Australia</td><td>8219</td><td>21293</td><td>22607</td><td>24703</td><td>28724</td> </tr>
+ <tr><td>Austria</td><td>6936</td><td>8364</td><td>8467</td><td>8600</td><td>8515</td> </tr>
+ <tr><td>Azerbaijan</td><td>2896</td><td>8832</td><td>9426</td><td>10128</td><td>10579</td> </tr>
+ <tr><td>Bahamas</td><td>79</td><td>342</td><td>366</td><td>402</td><td>455</td> </tr>
+ <tr><td>Bahrain</td><td>116</td><td>791</td><td>882</td><td>1021</td><td>1277</td> </tr>
+ <tr><td>Bangladesh</td><td>43595</td><td>162221</td><td>175217</td><td>195012</td><td>222495</td> </tr>
+ <tr><td>Barbados</td><td>211</td><td>256</td><td>260</td><td>262</td><td>237</td> </tr>
+ <tr><td>Belarus</td><td>7745</td><td>9634</td><td>9355</td><td>8851</td><td>7275</td> </tr>
+ <tr><td>Belgium</td><td>8628</td><td>10647</td><td>10878</td><td>11191</td><td>11493</td> </tr>
+ <tr><td>Belize</td><td>69</td><td>307</td><td>344</td><td>404</td><td>506</td> </tr>
+ <tr><td>Benin</td><td>2050</td><td>8935</td><td>10647</td><td>13767</td><td>21982</td> </tr>
+ <tr><td>Bermuda</td><td>37</td><td>65</td><td>65</td><td>66</td><td>63</td> </tr>
+ <tr><td>Bhutan</td><td>168</td><td>697</td><td>770</td><td>865</td><td>1013</td> </tr>
+ <tr><td>Bolivia</td><td>2714</td><td>9863</td><td>10854</td><td>12368</td><td>14908</td> </tr>
+ <tr><td>Bosnia and Herzegovina</td><td>2661</td><td>3767</td><td>3727</td><td>3608</td><td>3008</td> </tr>
+ <tr><td>Botswana</td><td>413</td><td>1950</td><td>2106</td><td>2337</td><td>2758</td> </tr>
+ <tr><td>Brazil</td><td>53975</td><td>193734</td><td>202866</td><td>213802</td><td>218512</td> </tr>
+ <tr><td>British Virgin Islands</td><td>7</td><td>23</td><td>24</td><td>26</td><td>28</td> </tr>
+ <tr><td>Brunei Darussalam</td><td>48</td><td>400</td><td>443</td><td>513</td><td>658</td> </tr>
+ <tr><td>Bulgaria</td><td>7251</td><td>7545</td><td>7263</td><td>6752</td><td>5392</td> </tr>
+ <tr><td>Burkina Faso</td><td>4080</td><td>15757</td><td>19013</td><td>24837</td><td>40830</td> </tr>
+ <tr><td>Burundi</td><td>2456</td><td>8303</td><td>9413</td><td>11161</td><td>14846</td> </tr>
+ <tr><td>Cambodia</td><td>4346</td><td>14805</td><td>16357</td><td>18973</td><td>23795</td> </tr>
+ <tr><td>Cameroon</td><td>4466</td><td>19522</td><td>22169</td><td>26478</td><td>36736</td> </tr>
+ <tr><td>Canada</td><td>13737</td><td>33573</td><td>35493</td><td>38659</td><td>44414</td> </tr>
+ <tr><td>Cape Verde</td><td>146</td><td>506</td><td>548</td><td>616</td><td>703</td> </tr>
+ <tr><td>Cayman Islands</td><td>7</td><td>56</td><td>59</td><td>63</td><td>66</td> </tr>
+ <tr><td>Central African Republic</td><td>1327</td><td>4422</td><td>4927</td><td>5747</td><td>7603</td> </tr>
+ <tr><td>Chad</td><td>2429</td><td>11206</td><td>13120</td><td>16906</td><td>27776</td> </tr>
+ <tr><td>Channel Islands</td><td>102</td><td>150</td><td>151</td><td>152</td><td>144</td> </tr>
+ <tr><td>Chile</td><td>6082</td><td>16970</td><td>17926</td><td>19266</td><td>20657</td> </tr>
+ <tr><td>China</td><td>544951</td><td>1345751</td><td>1395998</td><td>1453140</td><td>1417045</td> </tr>
+ <tr><td>China, Hong Kong SAR</td><td>1974</td><td>7022</td><td>7398</td><td>7969</td><td>8623</td> </tr>
+ <tr><td>China, Macao SAR</td><td>190</td><td>538</td><td>568</td><td>603</td><td>593</td> </tr>
+ <tr><td>Colombia</td><td>12000</td><td>45660</td><td>49385</td><td>54920</td><td>62877</td> </tr>
+ <tr><td>Comoros</td><td>156</td><td>676</td><td>767</td><td>907</td><td>1226</td> </tr>
+ <tr><td>Congo</td><td>808</td><td>3683</td><td>4225</td><td>5094</td><td>6863</td> </tr>
+ <tr><td>Cook Islands</td><td>15</td><td>20</td><td>20</td><td>21</td><td>24</td> </tr>
+ <tr><td>Costa Rica</td><td>966</td><td>4579</td><td>4957</td><td>5521</td><td>6373</td> </tr>
+ <tr><td>Côte d'Ivoire</td><td>2505</td><td>21075</td><td>24210</td><td>29738</td><td>43373</td> </tr>
+ <tr><td>Croatia</td><td>3850</td><td>4416</td><td>4370</td><td>4254</td><td>3825</td> </tr>
+ <tr><td>Cuba</td><td>5920</td><td>11204</td><td>11213</td><td>11148</td><td>9725</td> </tr>
+ <tr><td>Cyprus</td><td>494</td><td>871</td><td>925</td><td>1014</td><td>1175</td> </tr>
+ <tr><td>Czech Republic</td><td>8925</td><td>10369</td><td>10510</td><td>10573</td><td>10294</td> </tr>
+ <tr><td>Dem. People's Rep. of Korea</td><td>9737</td><td>23906</td><td>24399</td><td>25128</td><td>24562</td> </tr>
+ <tr><td>Dem. Republic of the Congo</td><td>12184</td><td>66020</td><td>77419</td><td>98123</td><td>147512</td> </tr>
+ <tr><td>Denmark</td><td>4271</td><td>5470</td><td>5523</td><td>5590</td><td>5551</td> </tr>
+ <tr><td>Djibouti</td><td>62</td><td>864</td><td>953</td><td>1111</td><td>1469</td> </tr>
+ <tr><td>Dominica</td><td>51</td><td>67</td><td>67</td><td>68</td><td>66</td> </tr>
+ <tr><td>Dominican Republic</td><td>2427</td><td>10090</td><td>10867</td><td>11973</td><td>13441</td> </tr>
+ <tr><td>Ecuador</td><td>3387</td><td>13625</td><td>14596</td><td>16074</td><td>17989</td> </tr>
+ <tr><td>Egypt</td><td>21514</td><td>82999</td><td>91778</td><td>104970</td><td>129533</td> </tr>
+ <tr><td>El Salvador</td><td>2200</td><td>6163</td><td>6383</td><td>6895</td><td>7882</td> </tr>
+ <tr><td>Equatorial Guinea</td><td>226</td><td>676</td><td>781</td><td>971</td><td>1445</td> </tr>
+ <tr><td>Eritrea</td><td>1141</td><td>5073</td><td>6009</td><td>7404</td><td>10787</td> </tr>
+ <tr><td>Estonia</td><td>1101</td><td>1340</td><td>1337</td><td>1321</td><td>1233</td> </tr>
+ <tr><td>Ethiopia</td><td>18434</td><td>82825</td><td>96237</td><td>119822</td><td>173811</td> </tr>
+ <tr><td>Faeroe Islands</td><td>32</td><td>50</td><td>52</td><td>55</td><td>58</td> </tr>
+ <tr><td>Falkland Islands (Malvinas)</td>  <td>2</td><td>3</td><td>3</td><td>3</td><td>3</td> </tr>
+ <tr><td>Fiji</td><td>289</td><td>849</td><td>874</td><td>905</td><td>910</td> </tr>
+ <tr><td>Finland</td><td>4009</td><td>5326</td><td>5432</td><td>5533</td><td>5445</td> </tr>
+ <tr><td>France</td><td>41832</td><td>62343</td><td>63900</td><td>65769</td><td>67668</td> </tr>
+ <tr><td>French Guiana</td><td>25</td><td>226</td><td>261</td><td>323</td><td>462</td> </tr>
+ <tr><td>French Polynesia</td><td>61</td><td>269</td><td>289</td><td>318</td><td>354</td> </tr>
+ <tr><td>Gabon</td><td>469</td><td>1475</td><td>1639</td><td>1915</td><td>2471</td> </tr>
+ <tr><td>Gambia</td><td>258</td><td>1705</td><td>1985</td><td>2478</td><td>3763</td> </tr>
+ <tr><td>Georgia</td><td>3527</td><td>4260</td><td>4084</td><td>3888</td><td>3267</td> </tr>
+ <tr><td>Germany</td><td>68376</td><td>82167</td><td>81346</td><td>79258</td><td>70504</td> </tr>
+ <tr><td>Ghana</td><td>4981</td><td>23837</td><td>26925</td><td>32233</td><td>45213</td> </tr>
+ <tr><td>Gibraltar</td><td>20</td><td>31</td><td>31</td><td>32</td><td>30</td> </tr>
+ <tr><td>Greece</td><td>7566</td><td>11161</td><td>11261</td><td>11274</td><td>10939</td> </tr>
+ <tr><td>Greenland</td><td>23</td><td>57</td><td>57</td><td>56</td><td>50</td> </tr>
+ <tr><td>Grenada</td><td>77</td><td>104</td><td>107</td><td>109</td><td>97</td> </tr>
+ <tr><td>Guadeloupe</td><td>210</td><td>465</td><td>476</td><td>489</td><td>477</td> </tr>
+ <tr><td>Guam</td><td>60</td><td>178</td><td>191</td><td>211</td><td>242</td> </tr>
+ <tr><td>Guatemala</td><td>3146</td><td>14027</td><td>16227</td><td>19927</td><td>27480</td> </tr>
+ <tr><td>Guinea</td><td>2619</td><td>10069</td><td>11844</td><td>15158</td><td>23975</td> </tr>
+ <tr><td>Guinea-Bissau</td><td>518</td><td>1611</td><td>1848</td><td>2296</td><td>3555</td> </tr>
+ <tr><td>Guyana</td><td>423</td><td>762</td><td>754</td><td>732</td><td>558</td> </tr>
+ <tr><td>Haiti</td><td>3221</td><td>10033</td><td>10957</td><td>12476</td><td>15485</td> </tr>
+ <tr><td>Holy See</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
+ <tr><td>Honduras</td><td>1487</td><td>7466</td><td>8386</td><td>9844</td><td>12402</td> </tr>
+ <tr><td>Hungary</td><td>9338</td><td>9993</td><td>9874</td><td>9647</td><td>8934</td> </tr>
+ <tr><td>Iceland</td><td>143</td><td>323</td><td>353</td><td>384</td><td>407</td> </tr>
+ <tr><td>India</td><td>371857</td><td>1198003</td><td>1294192</td><td>1431272</td><td>1613800</td> </tr>
+ <tr><td>Indonesia</td><td>77152</td><td>229965</td><td>244191</td><td>263287</td><td>288110</td> </tr>
+ <tr><td>Iran (Islamic Republic of)</td>  <td>16913</td><td>74196</td><td>79454</td><td>87134</td><td>96975</td> </tr>
+ <tr><td>Iraq</td><td>5719</td><td>30747</td><td>35884</td><td>44692</td><td>63995</td> </tr>
+ <tr><td>Ireland</td><td>2969</td><td>4515</td><td>4886</td><td>5370</td><td>6295</td> </tr>
+ <tr><td>Isle of Man</td><td>55</td><td>80</td><td>81</td><td>80</td><td>75</td> </tr>
+ <tr><td>Israel</td><td>1258</td><td>7170</td><td>7823</td><td>8769</td><td>10649</td> </tr>
+ <tr><td>Italy</td><td>46367</td><td>59870</td><td>60604</td><td>60018</td><td>57066</td> </tr>
+ <tr><td>Jamaica</td><td>1403</td><td>2719</td><td>2786</td><td>2866</td><td>2683</td> </tr>
+ <tr><td>Japan</td><td>82824</td><td>127156</td><td>125791</td><td>120793</td><td>101659</td> </tr>
+ <tr><td>Jordan</td><td>472</td><td>6316</td><td>6957</td><td>8088</td><td>10241</td> </tr>
+ <tr><td>Kazakhstan</td><td>6703</td><td>15637</td><td>16289</td><td>17025</td><td>17848</td> </tr>
+ <tr><td>Kenya</td><td>6077</td><td>39802</td><td>46433</td><td>57573</td><td>85410</td> </tr>
+ <tr><td>Kiribati</td><td>26</td><td>98</td><td>107</td><td>123</td><td>151</td> </tr>
+ <tr><td>Kuwait</td><td>152</td><td>2985</td><td>3378</td><td>3988</td><td>5240</td> </tr>
+ <tr><td>Kyrgyzstan</td><td>1740</td><td>5482</td><td>5877</td><td>6378</td><td>6882</td> </tr>
+ <tr><td>Lao People's Dem. Republic</td><td>1666</td><td>6320</td><td>7028</td><td>8273</td><td>10744</td> </tr>
+ <tr><td>Latvia</td><td>1949</td><td>2249</td><td>2197</td><td>2101</td><td>1854</td> </tr>
+ <tr><td>Lebanon</td><td>1443</td><td>4224</td><td>4426</td><td>4736</td><td>5033</td> </tr>
+ <tr><td>Lesotho</td><td>734</td><td>2067</td><td>2168</td><td>2306</td><td>2491</td> </tr>
+ <tr><td>Liberia</td><td>824</td><td>3955</td><td>4665</td><td>5858</td><td>8841</td> </tr>
+ <tr><td>Libyan Arab Jamahiriya</td><td>1029</td><td>6420</td><td>7158</td><td>8144</td><td>9819</td> </tr>
+ <tr><td>Liechtenstein</td><td>14</td><td>36</td><td>38</td><td>40</td><td>45</td> </tr>
+ <tr><td>Lithuania</td><td>2567</td><td>3287</td><td>3143</td><td>2985</td><td>2579</td> </tr>
+ <tr><td>Luxembourg</td><td>296</td><td>486</td><td>520</td><td>582</td><td>733</td> </tr>
+ <tr><td>Madagascar</td><td>4084</td><td>19625</td><td>22853</td><td>28595</td><td>42693</td> </tr>
+ <tr><td>Malawi</td><td>2881</td><td>15263</td><td>17998</td><td>23194</td><td>36575</td> </tr>
+ <tr><td>Malaysia</td><td>6110</td><td>27468</td><td>30041</td><td>33770</td><td>39664</td> </tr>
+ <tr><td>Maldives</td><td>82</td><td>309</td><td>338</td><td>384</td><td>455</td> </tr>
+ <tr><td>Mali</td><td>4268</td><td>13010</td><td>14993</td><td>18603</td><td>28260</td> </tr>
+ <tr><td>Malta</td><td>312</td><td>409</td><td>417</td><td>426</td><td>413</td> </tr>
+ <tr><td>Marshall Islands</td><td>13</td><td>62</td><td>70</td><td>79</td><td>92</td> </tr>
+ <tr><td>Martinique</td><td>222</td><td>405</td><td>411</td><td>418</td><td>393</td> </tr>
+ <tr><td>Mauritania</td><td>651</td><td>3291</td><td>3732</td><td>4443</td><td>6061</td> </tr>
+ <tr><td>Mauritius</td><td>493</td><td>1288</td><td>1337</td><td>1400</td><td>1426</td> </tr>
+ <tr><td>Mayotte</td><td>15</td><td>194</td><td>224</td><td>277</td><td>386</td> </tr>
+ <tr><td>Mexico</td><td>27741</td><td>109610</td><td>115528</td><td>123366</td><td>128964</td> </tr>
+ <tr><td>Micronesia (Fed. States of)</td>  <td>32</td><td>111</td><td>114</td><td>122</td><td>128</td> </tr>
+ <tr><td>Moldova (Republic of)</td>  <td>2341</td><td>3604</td><td>3462</td><td>3291</td><td>2734</td> </tr>
+ <tr><td>Monaco</td><td>20</td><td>33</td><td>33</td><td>35</td><td>38</td> </tr>
+ <tr><td>Mongolia</td><td>761</td><td>2671</td><td>2855</td><td>3134</td><td>3446</td> </tr>
+ <tr><td>Montenegro</td><td>399</td><td>624</td><td>627</td><td>633</td><td>618</td> </tr>
+ <tr><td>Montserrat</td><td>14</td><td>6</td><td>6</td><td>7</td><td>7</td> </tr>
+ <tr><td>Morocco</td><td>8953</td><td>31993</td><td>34330</td><td>37865</td><td>42583</td> </tr>
+ <tr><td>Mozambique</td><td>6442</td><td>22894</td><td>25957</td><td>31190</td><td>44148</td> </tr>
+ <tr><td>Myanmar</td><td>17158</td><td>50020</td><td>53087</td><td>57585</td><td>63373</td> </tr>
+ <tr><td>Namibia</td><td>485</td><td>2171</td><td>2412</td><td>2810</td><td>3588</td> </tr>
+ <tr><td>Nauru</td><td>3</td><td>10</td><td>11</td><td>11</td><td>11</td> </tr>
+ <tr><td>Nepal</td><td>8126</td><td>29331</td><td>32503</td><td>38031</td><td>49028</td> </tr>
+ <tr><td>Netherlands</td><td>10114</td><td>16592</td><td>16915</td><td>17348</td><td>17399</td> </tr>
+ <tr><td>Netherlands Antilles</td><td>112</td><td>198</td><td>207</td><td>210</td><td>192</td> </tr>
+ <tr><td>New Caledonia</td><td>65</td><td>250</td><td>271</td><td>304</td><td>362</td> </tr>
+ <tr><td>New Zealand</td><td>1908</td><td>4266</td><td>4492</td><td>4831</td><td>5349</td> </tr>
+ <tr><td>Nicaragua</td><td>1295</td><td>5743</td><td>6265</td><td>7058</td><td>8143</td> </tr>
+ <tr><td>Niger</td><td>2462</td><td>15290</td><td>19150</td><td>27388</td><td>58216</td> </tr>
+ <tr><td>Nigeria</td><td>36680</td><td>154729</td><td>175928</td><td>210057</td><td>289083</td> </tr>
+ <tr><td>Niue</td><td>5</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
+ <tr><td>Northern Mariana Islands</td><td>7</td><td>87</td><td>96</td><td>111</td><td>151</td> </tr>
+ <tr><td>Norway</td><td>3265</td><td>4812</td><td>5036</td><td>5365</td><td>5947</td> </tr>
+ <tr><td>Occupied Palestinian Territory</td><td>1005</td><td>4277</td><td>5090</td><td>6553</td><td>10265</td> </tr>
+ <tr><td>Oman</td><td>456</td><td>2845</td><td>3198</td><td>3782</td><td>4878</td> </tr>
+ <tr><td>Pakistan</td><td>41177</td><td>180808</td><td>205504</td><td>246286</td><td>335195</td> </tr>
+ <tr><td>Palau</td><td>7</td><td>20</td><td>21</td><td>23</td><td>26</td> </tr>
+ <tr><td>Panama</td><td>860</td><td>3454</td><td>3773</td><td>4267</td><td>5092</td> </tr>
+ <tr><td>Papua New Guinea</td><td>1798</td><td>6732</td><td>7678</td><td>9265</td><td>12871</td> </tr>
+ <tr><td>Paraguay</td><td>1473</td><td>6349</td><td>7007</td><td>8026</td><td>9867</td> </tr>
+ <tr><td>Peru</td><td>7632</td><td>29165</td><td>31197</td><td>34528</td><td>39776</td> </tr>
+ <tr><td>Philippines</td><td>19996</td><td>91983</td><td>101734</td><td>117270</td><td>146156</td> </tr>
+ <tr><td>Pitcairn</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td> </tr>
+ <tr><td>Poland</td><td>24824</td><td>38074</td><td>37788</td><td>36964</td><td>32013</td> </tr>
+ <tr><td>Portugal</td><td>8405</td><td>10707</td><td>10787</td><td>10706</td><td>10015</td> </tr>
+ <tr><td>Puerto Rico</td><td>2218</td><td>3982</td><td>4074</td><td>4176</td><td>4103</td> </tr>
+ <tr><td>Qatar</td><td>25</td><td>1409</td><td>1630</td><td>1848</td><td>2316</td> </tr>
+ <tr><td>Republic of Korea</td><td>19211</td><td>48333</td><td>49153</td><td>49484</td><td>44077</td> </tr>
+ <tr><td>Réunion</td><td>248</td><td>827</td><td>886</td><td>973</td><td>1096</td> </tr>
+ <tr><td>Romania</td><td>16311</td><td>21275</td><td>20787</td><td>19961</td><td>17279</td> </tr>
+ <tr><td>Russian Federation</td><td>102702</td><td>140874</td><td>137983</td><td>132345</td><td>116097</td> </tr>
+ <tr><td>Rwanda</td><td>2162</td><td>9998</td><td>11743</td><td>14676</td><td>22082</td> </tr>
+ <tr><td>Saint Helena</td><td>5</td><td>4</td><td>4</td><td>5</td><td>5</td> </tr>
+ <tr><td>Saint Kitts and Nevis</td><td>46</td><td>52</td><td>56</td><td>61</td><td>69</td> </tr>
+ <tr><td>Saint Lucia</td><td>83</td><td>172</td><td>182</td><td>198</td><td>217</td> </tr>
+ <tr><td>Saint Pierre and Miquelon</td><td>5</td><td>6</td><td>6</td><td>6</td><td>6</td> </tr>
+ <tr><td>St. Vincent and the Grenadines</td><td>67</td><td>109</td><td>110</td><td>111</td><td>119</td> </tr>
+ <tr><td>Samoa</td><td>82</td><td>179</td><td>181</td><td>188</td><td>192</td> </tr>
+ <tr><td>San Marino</td><td>13</td><td>31</td><td>32</td><td>33</td><td>33</td> </tr>
+ <tr><td>Sao Tome and Principe</td><td>60</td><td>163</td><td>180</td><td>216</td><td>296</td> </tr>
+ <tr><td>Saudi Arabia</td><td>3201</td><td>25721</td><td>28933</td><td>34176</td><td>43658</td> </tr>
+ <tr><td>Senegal</td><td>2416</td><td>12534</td><td>14526</td><td>17861</td><td>26102</td> </tr>
+ <tr><td>Serbia</td><td>6732</td><td>9850</td><td>9828</td><td>9720</td><td>9193</td> </tr>
+ <tr><td>Seychelles</td><td>36</td><td>84</td><td>86</td><td>91</td><td>97</td> </tr>
+ <tr><td>Sierra Leone</td><td>1944</td><td>5696</td><td>6557</td><td>8112</td><td>12446</td> </tr>
+ <tr><td>Singapore</td><td>1022</td><td>4737</td><td>5059</td><td>5362</td><td>5221</td> </tr>
+ <tr><td>Slovakia</td><td>3463</td><td>5406</td><td>5437</td><td>5413</td><td>4917</td> </tr>
+ <tr><td>Slovenia</td><td>1473</td><td>2020</td><td>2044</td><td>2050</td><td>1954</td> </tr>
+ <tr><td>Solomon Islands</td><td>90</td><td>523</td><td>599</td><td>725</td><td>1007</td> </tr>
+ <tr><td>Somalia</td><td>2264</td><td>9133</td><td>10731</td><td>13922</td><td>23522</td> </tr>
+ <tr><td>South Africa</td><td>13683</td><td>50110</td><td>51684</td><td>53766</td><td>56802</td> </tr>
+ <tr><td>Spain</td><td>28009</td><td>44904</td><td>47203</td><td>49265</td><td>51260</td> </tr>
+ <tr><td>Sri Lanka</td><td>8241</td><td>20238</td><td>21167</td><td>22033</td><td>21705</td> </tr>
+ <tr><td>Sudan</td><td>9190</td><td>42272</td><td>47730</td><td>56688</td><td>75884</td> </tr>
+ <tr><td>Suriname</td><td>215</td><td>520</td><td>547</td><td>586</td><td>619</td> </tr>
+ <tr><td>Swaziland</td><td>273</td><td>1185</td><td>1287</td><td>1455</td><td>1749</td> </tr>
+ <tr><td>Sweden</td><td>7014</td><td>9249</td><td>9498</td><td>9915</td><td>10571</td> </tr>
+ <tr><td>Switzerland</td><td>4693</td><td>7568</td><td>7736</td><td>8020</td><td>8514</td> </tr>
+ <tr><td>Syrian Arab Republic</td><td>3536</td><td>21906</td><td>24494</td><td>28592</td><td>36911</td> </tr>
+ <tr><td>Tajikistan</td><td>1532</td><td>6952</td><td>7761</td><td>9075</td><td>11111</td> </tr>
+ <tr><td>TFYR Macedonia</td><td>1230</td><td>2042</td><td>2045</td><td>2037</td><td>1857</td> </tr>
+ <tr><td>Thailand</td><td>20607</td><td>67764</td><td>69939</td><td>72628</td><td>73361</td> </tr>
+ <tr><td>Timor-Leste</td><td>433</td><td>1134</td><td>1385</td><td>1869</td><td>3217</td> </tr>
+ <tr><td>Togo</td><td>1329</td><td>6619</td><td>7607</td><td>9282</td><td>13196</td> </tr>
+ <tr><td>Tokelau</td><td>2</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
+ <tr><td>Tonga</td><td>47</td><td>104</td><td>105</td><td>112</td><td>123</td> </tr>
+ <tr><td>Trinidad and Tobago</td><td>636</td><td>1339</td><td>1368</td><td>1388</td><td>1278</td> </tr>
+ <tr><td>Tunisia</td><td>3530</td><td>10272</td><td>10884</td><td>11797</td><td>12711</td> </tr>
+ <tr><td>Turkey</td><td>21484</td><td>74816</td><td>79966</td><td>87364</td><td>97389</td> </tr>
+ <tr><td>Turkmenistan</td><td>1211</td><td>5110</td><td>5509</td><td>6072</td><td>6796</td> </tr>
+ <tr><td>Turks and Caicos Islands</td><td>5</td><td>33</td><td>35</td><td>38</td><td>40</td> </tr>
+ <tr><td>Tuvalu</td><td>5</td><td>10</td><td>10</td><td>11</td><td>11</td> </tr>
+ <tr><td>Uganda</td><td>5158</td><td>32710</td><td>39710</td><td>53406</td><td>91271</td> </tr>
+ <tr><td>Ukraine</td><td>37298</td><td>45708</td><td>44165</td><td>41617</td><td>35026</td> </tr>
+ <tr><td>United Arab Emirates</td><td>70</td><td>4599</td><td>5193</td><td>6109</td><td>8253</td> </tr>
+ <tr><td>United Kingdom</td><td>50616</td><td>61565</td><td>63528</td><td>66601</td><td>72365</td> </tr>
+ <tr><td>United Republic of Tanzania</td><td>7650</td><td>43739</td><td>52109</td><td>67394</td><td>109450</td> </tr>
+ <tr><td>United States of America</td><td>157813</td><td>314659</td><td>332334</td><td>358735</td><td>403932</td> </tr>
+ <tr><td>United States Virgin Islands</td><td>27</td><td>110</td><td>108</td><td>103</td><td>75</td> </tr>
+ <tr><td>Uruguay</td><td>2239</td><td>3361</td><td>3430</td><td>3546</td><td>3637</td> </tr>
+ <tr><td>Uzbekistan</td><td>6314</td><td>27488</td><td>29456</td><td>32715</td><td>36439</td> </tr>
+ <tr><td>Vanuatu</td><td>48</td><td>240</td><td>276</td><td>338</td><td>482</td> </tr>
+ <tr><td>Venezuela (Bolivarian Republic of)</td>  <td>5094</td><td>28583</td><td>31292</td><td>35370</td><td>42042</td> </tr>
+ <tr><td>Viet Nam</td><td>27367</td><td>88069</td><td>93647</td><td>102054</td><td>111666</td> </tr>
+ <tr><td>Wallis and Futuna Islands</td><td>7</td><td>15</td><td>16</td><td>17</td><td>17</td> </tr>
+ <tr><td>Western Sahara</td><td>14</td><td>513</td><td>625</td><td>775</td><td>938</td> </tr>
+ <tr><td>Yemen</td><td>4316</td><td>23580</td><td>27819</td><td>35509</td><td>53689</td> </tr>
+ <tr><td>Zambia</td><td>2340</td><td>12935</td><td>14980</td><td>18890</td><td>28957</td> </tr>
+ <tr><td>Zimbabwe</td><td>2747</td><td>12523</td><td>14029</td><td>16780</td><td>22178</td> </tr>
+</rows></response></ajax-response>
index 22f32bf..4735a31 100644 (file)
@@ -1,12 +1,11 @@
-/* this file is only for running the Rico 3.0 examples */\r
+/* this file is only for running the Rico 3 examples */\r
 \r
 body {\r
-font-family: Verdana, Arial, Helvetica, sans-serif;\r
+  font-family: Verdana, Arial, Helvetica, sans-serif;\r
 }\r
 \r
 h1 {\r
-       font-family : Trebuchet MS, Arial, Helvetica, sans-serif;\r
-       font-size: 16pt;\r
+  font-family : Trebuchet MS, Arial, Helvetica, sans-serif;\r
 }\r
 \r
 table#explanation {\r
@@ -24,47 +23,9 @@ div#explanation {
   border: 1px solid #CFCFFF;\r
 }\r
 \r
-#libinfo {\r
-  background-color:#EEEEFF;\r
-  font-size:9pt;\r
-  margin-bottom:0.5em;\r
-  padding: 2px;\r
-}\r
-\r
-#libname {\r
-  font-size:small;\r
-}\r
-\r
-\r
-p.ricoBookmark { clear:both; }\r
-\r
-form#settings {\r
-  font-size:smaller;\r
-  margin: 0px 10px 0px 0px;\r
-  padding: 3px;\r
-  border: 1px solid black;\r
-}\r
-\r
-.appHeader {\r
-       margin:0px;\r
-}\r
-\r
-#DrillDownDesc {\r
-  font-weight: bold;\r
-}\r
-\r
-table.demoSettings td {\r
-  font-size:small;\r
-  white-space: nowrap;\r
-}\r
-\r
 #addplaceholder {\r
   height: 125px;\r
   width: 125px;\r
   background-color:white;\r
   border: 1px solid blue;\r
 }\r
-\r
-.ui-tabs *, .ui-accordion * {\r
-  font-size: 12px;\r
-}
\ No newline at end of file
diff --git a/examples/dotnet/ex1.aspx b/examples/dotnet/ex1.aspx
deleted file mode 100644 (file)
index 1130cb3..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
-<%@ Page Language="VB" ResponseEncoding="iso-8859-1" validateRequest="false" %>\r
-<%@ Register TagPrefix="Rico" Assembly="Rico" NameSpace="Rico" %>\r
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
-<html>\r
-<head>\r
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">\r
-<title>Rico LiveGrid sourced from HTML table</title>\r
-\r
-<Rico:LoadClient checkQueryString='true' runat='server' />\r
-<link href="../demo.css" type="text/css" rel="stylesheet" />\r
-\r
-</head>\r
-\r
-<body>\r
-\r
-<div id='explanation'>\r
-Base Library:\r
-<script type='text/javascript'>\r
-document.write(Rico.Lib+' '+Rico.LibVersion);\r
-</script>\r
-<hr>\r
-This example demonstrates how Rico can convert an existing HTML table into\r
-a much more usable LiveGrid.\r
-LiveGrid provides scrolling, column resizing, filtering, and sorting capabilities.\r
-Click on a cell to see available actions.\r
-<p style='font-size:smaller;'>Data source: <a href="http://www.un.org/esa/population/unpop.htm">Population Division of the\r
-Department of Economic and Social Affairs of the United Nations Secretariat</a> (2009).\r
-<em>World Population Prospects: The 2008 Revision. Highlights.</em> New York: United Nations.  </p>\r
-</div>\r
-\r
-<Rico:LiveGrid runat='server' id='population' menuEvent='click' frozenColumns='1' highlightElem='cursorRow' defaultWidth='90' HtmlSourceId='population_data'>\r
-  <Rico:ColumnGroup runat='server' heading="" />\r
-  <Rico:Column runat='server' heading='Country or area' width='200' />\r
-  <Rico:ColumnGroup runat='server' heading="Population (thousands)" />\r
-  <Rico:Column runat='server' heading='1950' width='90' DataType='number' />\r
-  <Rico:Column runat='server' heading='2009' width='90' DataType='number' />\r
-  <Rico:Column runat='server' heading='2015' width='90' DataType='number' />\r
-  <Rico:Column runat='server' heading='2025' width='90' DataType='number' />\r
-  <Rico:Column runat='server' heading='2050' width='90' DataType='number' />\r
-</Rico:LiveGrid>\r
-\r
-<table id="population_data" style="display:none;">\r
- <tr><td>Afghanistan</td><td>8151</td><td>28150</td><td>34246</td><td>44970</td><td>73938</td> </tr>\r
- <tr><td>Albania</td><td>1215</td><td>3155</td><td>3256</td><td>3395</td><td>3303</td> </tr>\r
- <tr><td>Algeria</td><td>8753</td><td>34895</td><td>38088</td><td>42882</td><td>49610</td> </tr>\r
- <tr><td>American Samoa</td><td>19</td><td>67</td><td>74</td><td>86</td><td>107</td> </tr>\r
- <tr><td>Andorra</td><td>6</td><td>86</td><td>93</td><td>107</td><td>137</td> </tr>\r
- <tr><td>Angola</td><td>4148</td><td>18498</td><td>21690</td><td>27441</td><td>42267</td> </tr>\r
- <tr><td>Anguilla</td><td>5</td><td>15</td><td>17</td><td>18</td><td>20</td> </tr>\r
- <tr><td>Antigua and Barbuda</td><td>46</td><td>88</td><td>93</td><td>101</td><td>112</td> </tr>\r
- <tr><td>Argentina</td><td>17150</td><td>40276</td><td>42548</td><td>45883</td><td>50943</td> </tr>\r
- <tr><td>Armenia</td><td>1354</td><td>3083</td><td>3139</td><td>3181</td><td>3018</td> </tr>\r
- <tr><td>Aruba</td><td>38</td><td>107</td><td>109</td><td>112</td><td>106</td> </tr>\r
- <tr><td>Australia</td><td>8219</td><td>21293</td><td>22607</td><td>24703</td><td>28724</td> </tr>\r
- <tr><td>Austria</td><td>6936</td><td>8364</td><td>8467</td><td>8600</td><td>8515</td> </tr>\r
- <tr><td>Azerbaijan</td><td>2896</td><td>8832</td><td>9426</td><td>10128</td><td>10579</td> </tr>\r
- <tr><td>Bahamas</td><td>79</td><td>342</td><td>366</td><td>402</td><td>455</td> </tr>\r
- <tr><td>Bahrain</td><td>116</td><td>791</td><td>882</td><td>1021</td><td>1277</td> </tr>\r
- <tr><td>Bangladesh</td><td>43595</td><td>162221</td><td>175217</td><td>195012</td><td>222495</td> </tr>\r
- <tr><td>Barbados</td><td>211</td><td>256</td><td>260</td><td>262</td><td>237</td> </tr>\r
- <tr><td>Belarus</td><td>7745</td><td>9634</td><td>9355</td><td>8851</td><td>7275</td> </tr>\r
- <tr><td>Belgium</td><td>8628</td><td>10647</td><td>10878</td><td>11191</td><td>11493</td> </tr>\r
- <tr><td>Belize</td><td>69</td><td>307</td><td>344</td><td>404</td><td>506</td> </tr>\r
- <tr><td>Benin</td><td>2050</td><td>8935</td><td>10647</td><td>13767</td><td>21982</td> </tr>\r
- <tr><td>Bermuda</td><td>37</td><td>65</td><td>65</td><td>66</td><td>63</td> </tr>\r
- <tr><td>Bhutan</td><td>168</td><td>697</td><td>770</td><td>865</td><td>1013</td> </tr>\r
- <tr><td>Bolivia</td><td>2714</td><td>9863</td><td>10854</td><td>12368</td><td>14908</td> </tr>\r
- <tr><td>Bosnia and Herzegovina</td><td>2661</td><td>3767</td><td>3727</td><td>3608</td><td>3008</td> </tr>\r
- <tr><td>Botswana</td><td>413</td><td>1950</td><td>2106</td><td>2337</td><td>2758</td> </tr>\r
- <tr><td>Brazil</td><td>53975</td><td>193734</td><td>202866</td><td>213802</td><td>218512</td> </tr>\r
- <tr><td>British Virgin Islands</td><td>7</td><td>23</td><td>24</td><td>26</td><td>28</td> </tr>\r
- <tr><td>Brunei Darussalam</td><td>48</td><td>400</td><td>443</td><td>513</td><td>658</td> </tr>\r
- <tr><td>Bulgaria</td><td>7251</td><td>7545</td><td>7263</td><td>6752</td><td>5392</td> </tr>\r
- <tr><td>Burkina Faso</td><td>4080</td><td>15757</td><td>19013</td><td>24837</td><td>40830</td> </tr>\r
- <tr><td>Burundi</td><td>2456</td><td>8303</td><td>9413</td><td>11161</td><td>14846</td> </tr>\r
- <tr><td>Cambodia</td><td>4346</td><td>14805</td><td>16357</td><td>18973</td><td>23795</td> </tr>\r
- <tr><td>Cameroon</td><td>4466</td><td>19522</td><td>22169</td><td>26478</td><td>36736</td> </tr>\r
- <tr><td>Canada</td><td>13737</td><td>33573</td><td>35493</td><td>38659</td><td>44414</td> </tr>\r
- <tr><td>Cape Verde</td><td>146</td><td>506</td><td>548</td><td>616</td><td>703</td> </tr>\r
- <tr><td>Cayman Islands</td><td>7</td><td>56</td><td>59</td><td>63</td><td>66</td> </tr>\r
- <tr><td>Central African Republic</td><td>1327</td><td>4422</td><td>4927</td><td>5747</td><td>7603</td> </tr>\r
- <tr><td>Chad</td><td>2429</td><td>11206</td><td>13120</td><td>16906</td><td>27776</td> </tr>\r
- <tr><td>Channel Islands</td><td>102</td><td>150</td><td>151</td><td>152</td><td>144</td> </tr>\r
- <tr><td>Chile</td><td>6082</td><td>16970</td><td>17926</td><td>19266</td><td>20657</td> </tr>\r
- <tr><td>China</td><td>544951</td><td>1345751</td><td>1395998</td><td>1453140</td><td>1417045</td> </tr>\r
- <tr><td>China, Hong Kong SAR</td><td>1974</td><td>7022</td><td>7398</td><td>7969</td><td>8623</td> </tr>\r
- <tr><td>China, Macao SAR</td><td>190</td><td>538</td><td>568</td><td>603</td><td>593</td> </tr>\r
- <tr><td>Colombia</td><td>12000</td><td>45660</td><td>49385</td><td>54920</td><td>62877</td> </tr>\r
- <tr><td>Comoros</td><td>156</td><td>676</td><td>767</td><td>907</td><td>1226</td> </tr>\r
- <tr><td>Congo</td><td>808</td><td>3683</td><td>4225</td><td>5094</td><td>6863</td> </tr>\r
- <tr><td>Cook Islands</td><td>15</td><td>20</td><td>20</td><td>21</td><td>24</td> </tr>\r
- <tr><td>Costa Rica</td><td>966</td><td>4579</td><td>4957</td><td>5521</td><td>6373</td> </tr>\r
- <tr><td>Côte d'Ivoire</td><td>2505</td><td>21075</td><td>24210</td><td>29738</td><td>43373</td> </tr>\r
- <tr><td>Croatia</td><td>3850</td><td>4416</td><td>4370</td><td>4254</td><td>3825</td> </tr>\r
- <tr><td>Cuba</td><td>5920</td><td>11204</td><td>11213</td><td>11148</td><td>9725</td> </tr>\r
- <tr><td>Cyprus</td><td>494</td><td>871</td><td>925</td><td>1014</td><td>1175</td> </tr>\r
- <tr><td>Czech Republic</td><td>8925</td><td>10369</td><td>10510</td><td>10573</td><td>10294</td> </tr>\r
- <tr><td>Dem. People's Rep. of Korea</td><td>9737</td><td>23906</td><td>24399</td><td>25128</td><td>24562</td> </tr>\r
- <tr><td>Dem. Republic of the Congo</td><td>12184</td><td>66020</td><td>77419</td><td>98123</td><td>147512</td> </tr>\r
- <tr><td>Denmark</td><td>4271</td><td>5470</td><td>5523</td><td>5590</td><td>5551</td> </tr>\r
- <tr><td>Djibouti</td><td>62</td><td>864</td><td>953</td><td>1111</td><td>1469</td> </tr>\r
- <tr><td>Dominica</td><td>51</td><td>67</td><td>67</td><td>68</td><td>66</td> </tr>\r
- <tr><td>Dominican Republic</td><td>2427</td><td>10090</td><td>10867</td><td>11973</td><td>13441</td> </tr>\r
- <tr><td>Ecuador</td><td>3387</td><td>13625</td><td>14596</td><td>16074</td><td>17989</td> </tr>\r
- <tr><td>Egypt</td><td>21514</td><td>82999</td><td>91778</td><td>104970</td><td>129533</td> </tr>\r
- <tr><td>El Salvador</td><td>2200</td><td>6163</td><td>6383</td><td>6895</td><td>7882</td> </tr>\r
- <tr><td>Equatorial Guinea</td><td>226</td><td>676</td><td>781</td><td>971</td><td>1445</td> </tr>\r
- <tr><td>Eritrea</td><td>1141</td><td>5073</td><td>6009</td><td>7404</td><td>10787</td> </tr>\r
- <tr><td>Estonia</td><td>1101</td><td>1340</td><td>1337</td><td>1321</td><td>1233</td> </tr>\r
- <tr><td>Ethiopia</td><td>18434</td><td>82825</td><td>96237</td><td>119822</td><td>173811</td> </tr>\r
- <tr><td>Faeroe Islands</td><td>32</td><td>50</td><td>52</td><td>55</td><td>58</td> </tr>\r
- <tr><td>Falkland Islands (Malvinas)</td>  <td>2</td><td>3</td><td>3</td><td>3</td><td>3</td> </tr>\r
- <tr><td>Fiji</td><td>289</td><td>849</td><td>874</td><td>905</td><td>910</td> </tr>\r
- <tr><td>Finland</td><td>4009</td><td>5326</td><td>5432</td><td>5533</td><td>5445</td> </tr>\r
- <tr><td>France</td><td>41832</td><td>62343</td><td>63900</td><td>65769</td><td>67668</td> </tr>\r
- <tr><td>French Guiana</td><td>25</td><td>226</td><td>261</td><td>323</td><td>462</td> </tr>\r
- <tr><td>French Polynesia</td><td>61</td><td>269</td><td>289</td><td>318</td><td>354</td> </tr>\r
- <tr><td>Gabon</td><td>469</td><td>1475</td><td>1639</td><td>1915</td><td>2471</td> </tr>\r
- <tr><td>Gambia</td><td>258</td><td>1705</td><td>1985</td><td>2478</td><td>3763</td> </tr>\r
- <tr><td>Georgia</td><td>3527</td><td>4260</td><td>4084</td><td>3888</td><td>3267</td> </tr>\r
- <tr><td>Germany</td><td>68376</td><td>82167</td><td>81346</td><td>79258</td><td>70504</td> </tr>\r
- <tr><td>Ghana</td><td>4981</td><td>23837</td><td>26925</td><td>32233</td><td>45213</td> </tr>\r
- <tr><td>Gibraltar</td><td>20</td><td>31</td><td>31</td><td>32</td><td>30</td> </tr>\r
- <tr><td>Greece</td><td>7566</td><td>11161</td><td>11261</td><td>11274</td><td>10939</td> </tr>\r
- <tr><td>Greenland</td><td>23</td><td>57</td><td>57</td><td>56</td><td>50</td> </tr>\r
- <tr><td>Grenada</td><td>77</td><td>104</td><td>107</td><td>109</td><td>97</td> </tr>\r
- <tr><td>Guadeloupe</td><td>210</td><td>465</td><td>476</td><td>489</td><td>477</td> </tr>\r
- <tr><td>Guam</td><td>60</td><td>178</td><td>191</td><td>211</td><td>242</td> </tr>\r
- <tr><td>Guatemala</td><td>3146</td><td>14027</td><td>16227</td><td>19927</td><td>27480</td> </tr>\r
- <tr><td>Guinea</td><td>2619</td><td>10069</td><td>11844</td><td>15158</td><td>23975</td> </tr>\r
- <tr><td>Guinea-Bissau</td><td>518</td><td>1611</td><td>1848</td><td>2296</td><td>3555</td> </tr>\r
- <tr><td>Guyana</td><td>423</td><td>762</td><td>754</td><td>732</td><td>558</td> </tr>\r
- <tr><td>Haiti</td><td>3221</td><td>10033</td><td>10957</td><td>12476</td><td>15485</td> </tr>\r
- <tr><td>Holy See</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Honduras</td><td>1487</td><td>7466</td><td>8386</td><td>9844</td><td>12402</td> </tr>\r
- <tr><td>Hungary</td><td>9338</td><td>9993</td><td>9874</td><td>9647</td><td>8934</td> </tr>\r
- <tr><td>Iceland</td><td>143</td><td>323</td><td>353</td><td>384</td><td>407</td> </tr>\r
- <tr><td>India</td><td>371857</td><td>1198003</td><td>1294192</td><td>1431272</td><td>1613800</td> </tr>\r
- <tr><td>Indonesia</td><td>77152</td><td>229965</td><td>244191</td><td>263287</td><td>288110</td> </tr>\r
- <tr><td>Iran (Islamic Republic of)</td>  <td>16913</td><td>74196</td><td>79454</td><td>87134</td><td>96975</td> </tr>\r
- <tr><td>Iraq</td><td>5719</td><td>30747</td><td>35884</td><td>44692</td><td>63995</td> </tr>\r
- <tr><td>Ireland</td><td>2969</td><td>4515</td><td>4886</td><td>5370</td><td>6295</td> </tr>\r
- <tr><td>Isle of Man</td><td>55</td><td>80</td><td>81</td><td>80</td><td>75</td> </tr>\r
- <tr><td>Israel</td><td>1258</td><td>7170</td><td>7823</td><td>8769</td><td>10649</td> </tr>\r
- <tr><td>Italy</td><td>46367</td><td>59870</td><td>60604</td><td>60018</td><td>57066</td> </tr>\r
- <tr><td>Jamaica</td><td>1403</td><td>2719</td><td>2786</td><td>2866</td><td>2683</td> </tr>\r
- <tr><td>Japan</td><td>82824</td><td>127156</td><td>125791</td><td>120793</td><td>101659</td> </tr>\r
- <tr><td>Jordan</td><td>472</td><td>6316</td><td>6957</td><td>8088</td><td>10241</td> </tr>\r
- <tr><td>Kazakhstan</td><td>6703</td><td>15637</td><td>16289</td><td>17025</td><td>17848</td> </tr>\r
- <tr><td>Kenya</td><td>6077</td><td>39802</td><td>46433</td><td>57573</td><td>85410</td> </tr>\r
- <tr><td>Kiribati</td><td>26</td><td>98</td><td>107</td><td>123</td><td>151</td> </tr>\r
- <tr><td>Kuwait</td><td>152</td><td>2985</td><td>3378</td><td>3988</td><td>5240</td> </tr>\r
- <tr><td>Kyrgyzstan</td><td>1740</td><td>5482</td><td>5877</td><td>6378</td><td>6882</td> </tr>\r
- <tr><td>Lao People's Dem. Republic</td><td>1666</td><td>6320</td><td>7028</td><td>8273</td><td>10744</td> </tr>\r
- <tr><td>Latvia</td><td>1949</td><td>2249</td><td>2197</td><td>2101</td><td>1854</td> </tr>\r
- <tr><td>Lebanon</td><td>1443</td><td>4224</td><td>4426</td><td>4736</td><td>5033</td> </tr>\r
- <tr><td>Lesotho</td><td>734</td><td>2067</td><td>2168</td><td>2306</td><td>2491</td> </tr>\r
- <tr><td>Liberia</td><td>824</td><td>3955</td><td>4665</td><td>5858</td><td>8841</td> </tr>\r
- <tr><td>Libyan Arab Jamahiriya</td><td>1029</td><td>6420</td><td>7158</td><td>8144</td><td>9819</td> </tr>\r
- <tr><td>Liechtenstein</td><td>14</td><td>36</td><td>38</td><td>40</td><td>45</td> </tr>\r
- <tr><td>Lithuania</td><td>2567</td><td>3287</td><td>3143</td><td>2985</td><td>2579</td> </tr>\r
- <tr><td>Luxembourg</td><td>296</td><td>486</td><td>520</td><td>582</td><td>733</td> </tr>\r
- <tr><td>Madagascar</td><td>4084</td><td>19625</td><td>22853</td><td>28595</td><td>42693</td> </tr>\r
- <tr><td>Malawi</td><td>2881</td><td>15263</td><td>17998</td><td>23194</td><td>36575</td> </tr>\r
- <tr><td>Malaysia</td><td>6110</td><td>27468</td><td>30041</td><td>33770</td><td>39664</td> </tr>\r
- <tr><td>Maldives</td><td>82</td><td>309</td><td>338</td><td>384</td><td>455</td> </tr>\r
- <tr><td>Mali</td><td>4268</td><td>13010</td><td>14993</td><td>18603</td><td>28260</td> </tr>\r
- <tr><td>Malta</td><td>312</td><td>409</td><td>417</td><td>426</td><td>413</td> </tr>\r
- <tr><td>Marshall Islands</td><td>13</td><td>62</td><td>70</td><td>79</td><td>92</td> </tr>\r
- <tr><td>Martinique</td><td>222</td><td>405</td><td>411</td><td>418</td><td>393</td> </tr>\r
- <tr><td>Mauritania</td><td>651</td><td>3291</td><td>3732</td><td>4443</td><td>6061</td> </tr>\r
- <tr><td>Mauritius</td><td>493</td><td>1288</td><td>1337</td><td>1400</td><td>1426</td> </tr>\r
- <tr><td>Mayotte</td><td>15</td><td>194</td><td>224</td><td>277</td><td>386</td> </tr>\r
- <tr><td>Mexico</td><td>27741</td><td>109610</td><td>115528</td><td>123366</td><td>128964</td> </tr>\r
- <tr><td>Micronesia (Fed. States of)</td>  <td>32</td><td>111</td><td>114</td><td>122</td><td>128</td> </tr>\r
- <tr><td>Moldova (Republic of)</td>  <td>2341</td><td>3604</td><td>3462</td><td>3291</td><td>2734</td> </tr>\r
- <tr><td>Monaco</td><td>20</td><td>33</td><td>33</td><td>35</td><td>38</td> </tr>\r
- <tr><td>Mongolia</td><td>761</td><td>2671</td><td>2855</td><td>3134</td><td>3446</td> </tr>\r
- <tr><td>Montenegro</td><td>399</td><td>624</td><td>627</td><td>633</td><td>618</td> </tr>\r
- <tr><td>Montserrat</td><td>14</td><td>6</td><td>6</td><td>7</td><td>7</td> </tr>\r
- <tr><td>Morocco</td><td>8953</td><td>31993</td><td>34330</td><td>37865</td><td>42583</td> </tr>\r
- <tr><td>Mozambique</td><td>6442</td><td>22894</td><td>25957</td><td>31190</td><td>44148</td> </tr>\r
- <tr><td>Myanmar</td><td>17158</td><td>50020</td><td>53087</td><td>57585</td><td>63373</td> </tr>\r
- <tr><td>Namibia</td><td>485</td><td>2171</td><td>2412</td><td>2810</td><td>3588</td> </tr>\r
- <tr><td>Nauru</td><td>3</td><td>10</td><td>11</td><td>11</td><td>11</td> </tr>\r
- <tr><td>Nepal</td><td>8126</td><td>29331</td><td>32503</td><td>38031</td><td>49028</td> </tr>\r
- <tr><td>Netherlands</td><td>10114</td><td>16592</td><td>16915</td><td>17348</td><td>17399</td> </tr>\r
- <tr><td>Netherlands Antilles</td><td>112</td><td>198</td><td>207</td><td>210</td><td>192</td> </tr>\r
- <tr><td>New Caledonia</td><td>65</td><td>250</td><td>271</td><td>304</td><td>362</td> </tr>\r
- <tr><td>New Zealand</td><td>1908</td><td>4266</td><td>4492</td><td>4831</td><td>5349</td> </tr>\r
- <tr><td>Nicaragua</td><td>1295</td><td>5743</td><td>6265</td><td>7058</td><td>8143</td> </tr>\r
- <tr><td>Niger</td><td>2462</td><td>15290</td><td>19150</td><td>27388</td><td>58216</td> </tr>\r
- <tr><td>Nigeria</td><td>36680</td><td>154729</td><td>175928</td><td>210057</td><td>289083</td> </tr>\r
- <tr><td>Niue</td><td>5</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Northern Mariana Islands</td><td>7</td><td>87</td><td>96</td><td>111</td><td>151</td> </tr>\r
- <tr><td>Norway</td><td>3265</td><td>4812</td><td>5036</td><td>5365</td><td>5947</td> </tr>\r
- <tr><td>Occupied Palestinian Territory</td><td>1005</td><td>4277</td><td>5090</td><td>6553</td><td>10265</td> </tr>\r
- <tr><td>Oman</td><td>456</td><td>2845</td><td>3198</td><td>3782</td><td>4878</td> </tr>\r
- <tr><td>Pakistan</td><td>41177</td><td>180808</td><td>205504</td><td>246286</td><td>335195</td> </tr>\r
- <tr><td>Palau</td><td>7</td><td>20</td><td>21</td><td>23</td><td>26</td> </tr>\r
- <tr><td>Panama</td><td>860</td><td>3454</td><td>3773</td><td>4267</td><td>5092</td> </tr>\r
- <tr><td>Papua New Guinea</td><td>1798</td><td>6732</td><td>7678</td><td>9265</td><td>12871</td> </tr>\r
- <tr><td>Paraguay</td><td>1473</td><td>6349</td><td>7007</td><td>8026</td><td>9867</td> </tr>\r
- <tr><td>Peru</td><td>7632</td><td>29165</td><td>31197</td><td>34528</td><td>39776</td> </tr>\r
- <tr><td>Philippines</td><td>19996</td><td>91983</td><td>101734</td><td>117270</td><td>146156</td> </tr>\r
- <tr><td>Pitcairn</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td> </tr>\r
- <tr><td>Poland</td><td>24824</td><td>38074</td><td>37788</td><td>36964</td><td>32013</td> </tr>\r
- <tr><td>Portugal</td><td>8405</td><td>10707</td><td>10787</td><td>10706</td><td>10015</td> </tr>\r
- <tr><td>Puerto Rico</td><td>2218</td><td>3982</td><td>4074</td><td>4176</td><td>4103</td> </tr>\r
- <tr><td>Qatar</td><td>25</td><td>1409</td><td>1630</td><td>1848</td><td>2316</td> </tr>\r
- <tr><td>Republic of Korea</td><td>19211</td><td>48333</td><td>49153</td><td>49484</td><td>44077</td> </tr>\r
- <tr><td>Réunion</td><td>248</td><td>827</td><td>886</td><td>973</td><td>1096</td> </tr>\r
- <tr><td>Romania</td><td>16311</td><td>21275</td><td>20787</td><td>19961</td><td>17279</td> </tr>\r
- <tr><td>Russian Federation</td><td>102702</td><td>140874</td><td>137983</td><td>132345</td><td>116097</td> </tr>\r
- <tr><td>Rwanda</td><td>2162</td><td>9998</td><td>11743</td><td>14676</td><td>22082</td> </tr>\r
- <tr><td>Saint Helena</td><td>5</td><td>4</td><td>4</td><td>5</td><td>5</td> </tr>\r
- <tr><td>Saint Kitts and Nevis</td><td>46</td><td>52</td><td>56</td><td>61</td><td>69</td> </tr>\r
- <tr><td>Saint Lucia</td><td>83</td><td>172</td><td>182</td><td>198</td><td>217</td> </tr>\r
- <tr><td>Saint Pierre and Miquelon</td><td>5</td><td>6</td><td>6</td><td>6</td><td>6</td> </tr>\r
- <tr><td>St. Vincent and the Grenadines</td><td>67</td><td>109</td><td>110</td><td>111</td><td>119</td> </tr>\r
- <tr><td>Samoa</td><td>82</td><td>179</td><td>181</td><td>188</td><td>192</td> </tr>\r
- <tr><td>San Marino</td><td>13</td><td>31</td><td>32</td><td>33</td><td>33</td> </tr>\r
- <tr><td>Sao Tome and Principe</td><td>60</td><td>163</td><td>180</td><td>216</td><td>296</td> </tr>\r
- <tr><td>Saudi Arabia</td><td>3201</td><td>25721</td><td>28933</td><td>34176</td><td>43658</td> </tr>\r
- <tr><td>Senegal</td><td>2416</td><td>12534</td><td>14526</td><td>17861</td><td>26102</td> </tr>\r
- <tr><td>Serbia</td><td>6732</td><td>9850</td><td>9828</td><td>9720</td><td>9193</td> </tr>\r
- <tr><td>Seychelles</td><td>36</td><td>84</td><td>86</td><td>91</td><td>97</td> </tr>\r
- <tr><td>Sierra Leone</td><td>1944</td><td>5696</td><td>6557</td><td>8112</td><td>12446</td> </tr>\r
- <tr><td>Singapore</td><td>1022</td><td>4737</td><td>5059</td><td>5362</td><td>5221</td> </tr>\r
- <tr><td>Slovakia</td><td>3463</td><td>5406</td><td>5437</td><td>5413</td><td>4917</td> </tr>\r
- <tr><td>Slovenia</td><td>1473</td><td>2020</td><td>2044</td><td>2050</td><td>1954</td> </tr>\r
- <tr><td>Solomon Islands</td><td>90</td><td>523</td><td>599</td><td>725</td><td>1007</td> </tr>\r
- <tr><td>Somalia</td><td>2264</td><td>9133</td><td>10731</td><td>13922</td><td>23522</td> </tr>\r
- <tr><td>South Africa</td><td>13683</td><td>50110</td><td>51684</td><td>53766</td><td>56802</td> </tr>\r
- <tr><td>Spain</td><td>28009</td><td>44904</td><td>47203</td><td>49265</td><td>51260</td> </tr>\r
- <tr><td>Sri Lanka</td><td>8241</td><td>20238</td><td>21167</td><td>22033</td><td>21705</td> </tr>\r
- <tr><td>Sudan</td><td>9190</td><td>42272</td><td>47730</td><td>56688</td><td>75884</td> </tr>\r
- <tr><td>Suriname</td><td>215</td><td>520</td><td>547</td><td>586</td><td>619</td> </tr>\r
- <tr><td>Swaziland</td><td>273</td><td>1185</td><td>1287</td><td>1455</td><td>1749</td> </tr>\r
- <tr><td>Sweden</td><td>7014</td><td>9249</td><td>9498</td><td>9915</td><td>10571</td> </tr>\r
- <tr><td>Switzerland</td><td>4693</td><td>7568</td><td>7736</td><td>8020</td><td>8514</td> </tr>\r
- <tr><td>Syrian Arab Republic</td><td>3536</td><td>21906</td><td>24494</td><td>28592</td><td>36911</td> </tr>\r
- <tr><td>Tajikistan</td><td>1532</td><td>6952</td><td>7761</td><td>9075</td><td>11111</td> </tr>\r
- <tr><td>TFYR Macedonia</td><td>1230</td><td>2042</td><td>2045</td><td>2037</td><td>1857</td> </tr>\r
- <tr><td>Thailand</td><td>20607</td><td>67764</td><td>69939</td><td>72628</td><td>73361</td> </tr>\r
- <tr><td>Timor-Leste</td><td>433</td><td>1134</td><td>1385</td><td>1869</td><td>3217</td> </tr>\r
- <tr><td>Togo</td><td>1329</td><td>6619</td><td>7607</td><td>9282</td><td>13196</td> </tr>\r
- <tr><td>Tokelau</td><td>2</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Tonga</td><td>47</td><td>104</td><td>105</td><td>112</td><td>123</td> </tr>\r
- <tr><td>Trinidad and Tobago</td><td>636</td><td>1339</td><td>1368</td><td>1388</td><td>1278</td> </tr>\r
- <tr><td>Tunisia</td><td>3530</td><td>10272</td><td>10884</td><td>11797</td><td>12711</td> </tr>\r
- <tr><td>Turkey</td><td>21484</td><td>74816</td><td>79966</td><td>87364</td><td>97389</td> </tr>\r
- <tr><td>Turkmenistan</td><td>1211</td><td>5110</td><td>5509</td><td>6072</td><td>6796</td> </tr>\r
- <tr><td>Turks and Caicos Islands</td><td>5</td><td>33</td><td>35</td><td>38</td><td>40</td> </tr>\r
- <tr><td>Tuvalu</td><td>5</td><td>10</td><td>10</td><td>11</td><td>11</td> </tr>\r
- <tr><td>Uganda</td><td>5158</td><td>32710</td><td>39710</td><td>53406</td><td>91271</td> </tr>\r
- <tr><td>Ukraine</td><td>37298</td><td>45708</td><td>44165</td><td>41617</td><td>35026</td> </tr>\r
- <tr><td>United Arab Emirates</td><td>70</td><td>4599</td><td>5193</td><td>6109</td><td>8253</td> </tr>\r
- <tr><td>United Kingdom</td><td>50616</td><td>61565</td><td>63528</td><td>66601</td><td>72365</td> </tr>\r
- <tr><td>United Republic of Tanzania</td><td>7650</td><td>43739</td><td>52109</td><td>67394</td><td>109450</td> </tr>\r
- <tr><td>United States of America</td><td>157813</td><td>314659</td><td>332334</td><td>358735</td><td>403932</td> </tr>\r
- <tr><td>United States Virgin Islands</td><td>27</td><td>110</td><td>108</td><td>103</td><td>75</td> </tr>\r
- <tr><td>Uruguay</td><td>2239</td><td>3361</td><td>3430</td><td>3546</td><td>3637</td> </tr>\r
- <tr><td>Uzbekistan</td><td>6314</td><td>27488</td><td>29456</td><td>32715</td><td>36439</td> </tr>\r
- <tr><td>Vanuatu</td><td>48</td><td>240</td><td>276</td><td>338</td><td>482</td> </tr>\r
- <tr><td>Venezuela (Bolivarian Republic of)</td>  <td>5094</td><td>28583</td><td>31292</td><td>35370</td><td>42042</td> </tr>\r
- <tr><td>Viet Nam</td><td>27367</td><td>88069</td><td>93647</td><td>102054</td><td>111666</td> </tr>\r
- <tr><td>Wallis and Futuna Islands</td><td>7</td><td>15</td><td>16</td><td>17</td><td>17</td> </tr>\r
- <tr><td>Western Sahara</td><td>14</td><td>513</td><td>625</td><td>775</td><td>938</td> </tr>\r
- <tr><td>Yemen</td><td>4316</td><td>23580</td><td>27819</td><td>35509</td><td>53689</td> </tr>\r
- <tr><td>Zambia</td><td>2340</td><td>12935</td><td>14980</td><td>18890</td><td>28957</td> </tr>\r
- <tr><td>Zimbabwe</td><td>2747</td><td>12523</td><td>14029</td><td>16780</td><td>22178</td> </tr>\r
-</table>\r
-\r
-</body>\r
-</html>\r
-\r
index 32f8ed5..fd955a6 100644 (file)
@@ -15,7 +15,7 @@ End Sub
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
 <html>\r
 <head>\r
-<title>Rico LiveGrid-Example 2</title>\r
+<title>Rico LiveGrid-Custom Styles</title>\r
 \r
 <Rico:LoadClient id='RicoClient' checkQueryString='notheme' runat='server' />\r
 <link href="../demo.css" type="text/css" rel="stylesheet" />\r
diff --git a/examples/dotnet/gridFromTable.aspx b/examples/dotnet/gridFromTable.aspx
new file mode 100644 (file)
index 0000000..620a1b4
--- /dev/null
@@ -0,0 +1,179 @@
+<%@ Page Language="VB" ResponseEncoding="iso-8859-1" validateRequest="false" %>\r
+<%@ Register TagPrefix="Rico" Assembly="Rico" NameSpace="Rico" %>\r
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
+<html>\r
+<head>\r
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">\r
+<title>Rico LiveGrid sourced from HTML table</title>\r
+\r
+<Rico:LoadClient checkQueryString='true' runat='server' />\r
+<link href="../demo.css" type="text/css" rel="stylesheet" />\r
+\r
+</head>\r
+\r
+<body>\r
+<div id='explanation'>\r
+Base Library:\r
+<script type='text/javascript'>\r
+document.write(Rico.Lib+' '+Rico.LibVersion);\r
+</script>\r
+<hr>\r
+This example demonstrates how Rico can convert an existing HTML table into\r
+a much more usable LiveGrid. With the .net server control, you just specify the column names and an HtmlSourceId.\r
+LiveGrid provides scrolling, column resizing, filtering, and sorting capabilities.\r
+When the data is static (as it is in this example), then filtering and sorting take place on the client.\r
+When the data source is a SQL database, then filtering and sorting are done by the database.\r
+Click on a cell to see the available actions.\r
+</div>\r
+\r
+<Rico:LiveGrid runat='server' id='derby' menuEvent='click' frozenColumns='1' highlightElem='cursorRow' defaultWidth='90' HtmlSourceId='derby_data'>\r
+  <Rico:Column runat='server' heading='Year'   width='70' />\r
+  <Rico:Column runat='server' heading='Horse'  width='120' />\r
+  <Rico:Column runat='server' heading='Jockey' width='120' />\r
+</Rico:LiveGrid>\r
+\r
+<table id="derby_data" style="display:none;">\r
+<tbody>\r
+<tr> <td>1875</td> <td>Aristides</td> <td>O. Lewis</td> </tr> \r
+<tr> <td>1876</td> <td>Vagrant</td> <td>B. Swim</td> </tr> \r
+<tr> <td>1877</td> <td>Baden-Baden</td> <td>W. Walker</td> </tr> \r
+<tr> <td>1878</td> <td>Day Star</td> <td>J. Carter</td> </tr> \r
+<tr> <td>1879</td> <td>Lord Murphy</td> <td>C. Shauer</td> </tr> \r
+<tr> <td>1880</td> <td>Fonso</td> <td>G. Lewis</td> </tr> \r
+<tr> <td>1881</td> <td>Hindoo</td> <td>J. McLaughlin</td> </tr> \r
+<tr> <td>1882</td> <td>Apollo</td> <td>B. Hurd</td> </tr> \r
+<tr> <td>1883</td> <td>Leonatus</td> <td>W. Donohue</td> </tr> \r
+<tr> <td>1884</td> <td>Buchanan</td> <td>I. Murphy</td> </tr> \r
+<tr> <td>1885</td> <td>Joe Cotton</td> <td>E. Henderson</td> </tr> \r
+<tr> <td>1886</td> <td>Ben Ali</td> <td>P. Duffy</td> </tr> \r
+<tr> <td>1887</td> <td>Montrose</td> <td>I. Lewis</td> </tr> \r
+<tr> <td>1888</td> <td>Macbeth II</td> <td>G. Covington</td> </tr> \r
+<tr> <td>1889</td> <td>Spokane</td> <td>T. Kiley</td> </tr> \r
+<tr> <td>1890</td> <td>Riley</td> <td>I. Murphy</td> </tr> \r
+<tr> <td>1891</td> <td>Kingman</td> <td>I. Murphy</td> </tr> \r
+<tr> <td>1892</td> <td>Azra</td> <td>A. Clayton</td> </tr> \r
+<tr> <td>1893</td> <td>Lookout</td> <td>E. Kunze</td> </tr> \r
+<tr> <td>1894</td> <td>Chant</td> <td>F. Goodale</td> </tr> \r
+<tr> <td>1895</td> <td>Halma</td> <td>J. Perkins</td> </tr> \r
+<tr> <td>1896</td> <td>Ben Brush</td> <td>W. Simms</td> </tr> \r
+<tr> <td>1897</td> <td>Typhoon II</td> <td>F. Garner</td> </tr> \r
+<tr> <td>1898</td> <td>Plaudit</td> <td>W. Simms</td> </tr> \r
+<tr> <td>1899</td> <td>Manuel</td> <td>F. Taral</td> </tr> \r
+<tr> <td>1900</td> <td>Lieut. Gibson</td> <td>J. Boland</td> </tr> \r
+<tr> <td>1901</td> <td>His Eminence</td> <td>J. Winkfield</td> </tr> \r
+<tr> <td>1902</td> <td>Alan-a-Dale</td> <td>J. Winkfield</td> </tr> \r
+<tr> <td>1903</td> <td>Judge Himes</td> <td>H. Booker</td> </tr> \r
+<tr> <td>1904</td> <td>Elwood</td> <td>F. Prior</td> </tr> \r
+<tr> <td>1905</td> <td>Agile</td> <td>J. Martin</td> </tr> \r
+<tr> <td>1906</td> <td>Sir Huon</td> <td>R. Troxler</td> </tr> \r
+<tr> <td>1907</td> <td>Pink Star</td> <td>A. Minder</td> </tr> \r
+<tr> <td>1908</td> <td>Stone Street</td> <td>A. Pickens</td> </tr> \r
+<tr> <td>1909</td> <td>Wintergreen</td> <td>V. Powers</td> </tr> \r
+<tr> <td>1910</td> <td>Donau</td> <td>F. Herbert</td> </tr> \r
+<tr> <td>1911</td> <td>Meridian</td> <td>G. Archibald</td> </tr> \r
+<tr> <td>1912</td> <td>Worth</td> <td>C.H. Shilling</td> </tr> \r
+<tr> <td>1913</td> <td>Donerail</td> <td>R. Goose</td> </tr> \r
+<tr> <td>1914</td> <td>Old Rosebud</td> <td>J. McCabe</td> </tr> \r
+<tr> <td>1915</td> <td>Regret</td> <td>J. Nolter</td> </tr> \r
+<tr> <td>1916</td> <td>George Smith</td> <td>J. Loftus</td> </tr> \r
+<tr> <td>1917</td> <td>Omar Khayyam</td> <td>C. Borel</td> </tr> \r
+<tr> <td>1918</td> <td>Exterminator</td> <td>W. Knapp</td> </tr> \r
+<tr> <td>1919</td> <td>Sir Barton</td> <td>J. Loftus</td> </tr> \r
+<tr> <td>1920</td> <td>Paul Jones</td> <td>T. Rice</td> </tr> \r
+<tr> <td>1921</td> <td>Behave Yourself</td> <td>C. Thompson</td> </tr> \r
+<tr> <td>1922</td> <td>Morvich</td> <td>A. Johnson</td> </tr> \r
+<tr> <td>1923</td> <td>Zev</td> <td>E. Sande</td> </tr> \r
+<tr> <td>1924</td> <td>Black Gold</td> <td>J.D. Mooney</td> </tr> \r
+<tr> <td>1925</td> <td>Flying Ebony</td> <td>E. Sande</td> </tr> \r
+<tr> <td>1926</td> <td>Bubbling Over</td> <td>A. Johnson</td> </tr> \r
+<tr> <td>1927</td> <td>Whiskery</td> <td>L. McAtee</td> </tr> \r
+<tr> <td>1928</td> <td>Reigh Count</td> <td>C. Lang</td> </tr> \r
+<tr> <td>1929</td> <td>Clyde Van Dusen</td> <td>L. McAtee</td> </tr> \r
+<tr> <td>1930</td> <td>Gallant Fox</td> <td>E. Sande</td> </tr> \r
+<tr> <td>1931</td> <td>Twenty Grand</td> <td>C. Kurtsinger</td> </tr> \r
+<tr> <td>1932</td> <td>Burgoo King</td> <td>E. James</td> </tr> \r
+<tr> <td>1933</td> <td>Brokers Tip</td> <td>D. Meade</td> </tr> \r
+<tr> <td>1934</td> <td>Cavalcade</td> <td>M. Garner</td> </tr> \r
+<tr> <td>1935</td> <td>Omaha</td> <td>W. Saunders</td> </tr> \r
+<tr> <td>1936</td> <td>Bold Venture</td> <td>I. Hanford</td> </tr> \r
+<tr> <td>1937</td> <td>War Admiral</td> <td>C. Kurtsinger</td> </tr> \r
+<tr> <td>1938</td> <td>Lawrin</td> <td>E. Arcaro</td> </tr> \r
+<tr> <td>1939</td> <td>Johnstown</td> <td>J. Scout</td> </tr> \r
+<tr> <td>1940</td> <td>Gallahadion</td> <td>C. Bierman</td> </tr> \r
+<tr> <td>1941</td> <td>Whirlaway</td> <td>E. Arcaro</td> </tr> \r
+<tr> <td>1942</td> <td>Shut Out</td> <td>W.D. Wright</td> </tr> \r
+<tr> <td>1943</td> <td>Count Fleet</td> <td>J. Longden</td> </tr> \r
+<tr> <td>1944</td> <td>Pensive</td> <td>C. McCreary</td> </tr> \r
+<tr> <td>1945</td> <td>Hoop Jr.</td> <td>E. Arcaro</td> </tr> \r
+<tr> <td>1946</td> <td>Assault</td> <td>W. Mehrtens</td> </tr> \r
+<tr> <td>1947</td> <td>Jet Pilot</td> <td>E. Guerin</td> </tr> \r
+<tr> <td>1948</td> <td>Citation</td> <td>E. Arcaro</td> </tr> \r
+<tr> <td>1949</td> <td>Ponder</td> <td>S. Brooks</td> </tr> \r
+<tr> <td>1950</td> <td>Middleground</td> <td>W. Boland</td> </tr> \r
+<tr> <td>1951</td> <td>Count Turf</td> <td>C. McCreary</td> </tr> \r
+<tr> <td>1952</td> <td>Hill Gail</td> <td>E. Arcaro</td> </tr> \r
+<tr> <td>1953</td> <td>Dark Star</td> <td>H. Moreno</td> </tr> \r
+<tr> <td>1954</td> <td>Determine</td> <td>R. York</td> </tr> \r
+<tr> <td>1955</td> <td>Swaps</td> <td>W. Shoemaker</td> </tr> \r
+<tr> <td>1956</td> <td>Needles</td> <td>D. Erb</td> </tr> \r
+<tr> <td>1957</td> <td>Iron Liege</td> <td>W. Hartack</td> </tr> \r
+<tr> <td>1958</td> <td>Tim Tam</td> <td>I. Valenzuela</td> </tr> \r
+<tr> <td>1959</td> <td>Tomy Lee</td> <td>W. Shoemaker</td> </tr> \r
+<tr> <td>1960</td> <td>Venetian Way</td> <td>W. Hartack</td> </tr> \r
+<tr> <td>1961</td> <td>Carry Back</td> <td>J. Sellers</td> </tr> \r
+<tr> <td>1962</td> <td>Decidedly</td> <td>W. Hartack</td> </tr> \r
+<tr> <td>1963</td> <td>Chateaugay</td> <td>B. Baeza</td> </tr> \r
+<tr> <td>1964</td> <td>Northern Dancer</td> <td>W. Hartack</td> </tr> \r
+<tr> <td>1965</td> <td>Lucky Debonair</td> <td>W. Shoemaker</td> </tr> \r
+<tr> <td>1966</td> <td>Kauai King</td> <td>D. Brumfield</td> </tr> \r
+<tr> <td>1967</td> <td>Proud Clarion</td> <td>R. Ussery</td> </tr> \r
+<tr> <td>1968*</td> <td>Dancer&rsquo;s Image</td> <td>I. Valenzuela</td> </tr> \r
+<tr> <td>1969</td> <td>Majestic Prince</td> <td>W. Hartack</td> </tr> \r
+<tr> <td>1970</td> <td>Dust Commander</td> <td>M. Manganello</td> </tr> \r
+<tr> <td>1971</td> <td>Canonero II</td> <td>G. Avila</td> </tr> \r
+<tr> <td>1972</td> <td>Riva Ridge</td> <td>R. Turcotte</td> </tr> \r
+<tr> <td>1973**</td> <td>Secretariat</td> <td>R. Turcotte</td> </tr> \r
+<tr> <td>1974</td> <td>Cannonade</td> <td>A. Cordero, Jr.</td> </tr> \r
+<tr> <td>1975</td> <td>Foolish Pleasure</td> <td>J. Vasquez</td> </tr> \r
+<tr> <td>1976</td> <td>Bold Forbes</td> <td>A. Cordero, Jr.</td> </tr> \r
+<tr> <td>1977</td> <td>Seattle Slew</td> <td>J. Cruguet</td> </tr> \r
+<tr> <td>1978</td> <td>Affirmed</td> <td>S. Cauthen</td> </tr> \r
+<tr> <td>1979</td> <td>Spectacular Bid</td> <td>R. Franklin</td> </tr> \r
+<tr> <td>1980</td> <td>Genuine Risk</td> <td>J. Vasquez</td> </tr> \r
+<tr> <td>1981</td> <td>Pleasant Colony</td> <td>J. Velasquez</td> </tr> \r
+<tr> <td>1982</td> <td>Gato del Sol</td> <td>E. Delahoussaye</td> </tr> \r
+<tr> <td>1983</td> <td>Sunny&rsquo;s Halo</td> <td>E. Delahoussaye</td> </tr> \r
+<tr> <td>1984</td> <td>Swale</td> <td>L. Pincay</td> </tr> \r
+<tr> <td>1985</td> <td>Spend a Buck</td> <td>A. Cordero, Jr.</td> </tr> \r
+<tr> <td>1986</td> <td>Ferdinand</td> <td>W. Shoemaker</td> </tr> \r
+<tr> <td>1987</td> <td>Alysheba</td> <td>C. McCarron</td> </tr> \r
+<tr> <td>1988</td> <td>Winning Colors</td> <td>G. Stevens</td> </tr> \r
+<tr> <td>1989</td> <td>Sunday Silence</td> <td>P. Valenzuela</td> </tr> \r
+<tr> <td>1990</td> <td>Unbridled</td> <td>C. Perret</td> </tr> \r
+<tr> <td>1991</td> <td>Strike the Gold</td> <td>C. Antley</td> </tr> \r
+<tr> <td>1992</td> <td>Lil E. Tee</td> <td>P. Day</td> </tr> \r
+<tr> <td>1993</td> <td>Sea Hero</td> <td>J. Bailey</td> </tr> \r
+<tr> <td>1994</td> <td>Go For Gin</td> <td>C. McCarron</td> </tr> \r
+<tr> <td>1995</td> <td>Thunder Gulch</td> <td>G. Stevens</td> </tr> \r
+<tr> <td>1996</td> <td>Grindstone</td> <td>J. Bailey</td> </tr> \r
+<tr> <td>1997</td> <td>Silver Charm</td> <td>G. Stevens</td> </tr> \r
+<tr> <td>1998</td> <td>Real Quiet</td> <td>K. Desormeaux</td> </tr> \r
+<tr> <td>1999</td> <td>Charismatic</td> <td>C. Antley</td> </tr> \r
+<tr> <td>2000</td> <td>Fusaichi Pegasus</td> <td>K. Desormeaux</td> </tr> \r
+<tr> <td>2001</td> <td>Monarchos</td> <td>J. Chavez</td> </tr> \r
+<tr> <td>2002</td> <td>War Emblem</td> <td>V. Espinoza</td> </tr> \r
+<tr> <td>2003</td> <td>Funny Cide</td> <td>J. Santos</td> </tr> \r
+<tr> <td>2004</td> <td>Smarty Jones</td> <td>S. Elliott</td> </tr> \r
+<tr> <td>2005</td> <td>Giacomo</td> <td>M. Smith</td> </tr> \r
+<tr> <td>2006</td> <td>Barbaro</td> <td>E. Prado</td> </tr> \r
+<tr> <td>2007</td> <td>Street Sense</td> <td>C. Borel</td> </tr> \r
+<tr> <td>2008</td> <td>Big Brown</td> <td>K. Desormeaux</td> </tr> \r
+<tr> <td>2009</td> <td>Mine That Bird</td> <td>C. Borel</td> </tr> \r
+</tbody> \r
+</table>   \r
+\r
+<p style='font-size: x-small;'>*Dancer&rsquo;s Image disqualified but later reinstated.\r
+<br> **Fastest time&mdash;1 min 59 2/5 s. No other horse has raced the Derby in less than 2 min.</p> \r
+\r
+</body>\r
+</html>\r
index 184b793..72e4d8b 100644 (file)
@@ -45,9 +45,16 @@ ul li {
 <div>\r
   <div>Choose the Example</div>\r
   <div>\r
+<p>Widgets\r
 <ul>\r
 <li><a id="demo_widgets.aspx">Rico Widget Overview</a>\r
-<li><a id="demo_ex1.aspx">LiveGrid sourced from HTML table</a>\r
+<li><a id="demo_widgetsRTL.aspx">Rico Widgets-RTL</a>\r
+<li><a id="demo_tree1.aspx">Tree control</a>\r
+</ul>\r
+\r
+<p>LiveGrids\r
+<ul>\r
+<li><a id="demo_gridFromTable.aspx">LiveGrid sourced from HTML table</a>\r
 <li><a id="demo_ex2xml.aspx">LiveGrid sourced from SQL database (xml)</a>\r
 <li><a id="demo_ex2json.aspx">LiveGrid sourced from SQL database (json)</a>\r
 <li><a id="demo_ex2style.aspx">LiveGrid with custom column styles</a>\r
@@ -57,13 +64,15 @@ ul li {
 <li><a id="demo_employees.aspx">Editable LiveGrid (Employees)</a>\r
 <li><a id="demo_ex2editfilter.aspx">Editable LiveGrid (Orders)</a>\r
 <li><a id="demo_ex2nosession.aspx">Editable LiveGrid without session vars</a>\r
+<li><a id="demo_RicoDbViewer.aspx">Northwind data browser</a>\r
 <li><a id="demo_photos.aspx">LiveGrid sourced from flickr</a>\r
+</ul>\r
+\r
+<p>SimpleGrids\r
+<ul>\r
 <li><a id="demo_simplegrid.aspx">SimpleGrid - table with subtotals</a>\r
 <li><a id="demo_simpleCustomHdg.aspx">SimpleGrid - table with custom headings/no theme</a>\r
 <li><a id="demo_simpleNumbersDates.aspx">SimpleGrid - number and date formats</a>\r
-<li><a id="demo_tree1.aspx">Tree control</a>\r
-<li><a id="demo_RicoDbViewer.aspx">Northwind data browser</a>\r
-<li><a id="demo_widgetsRTL.aspx">Rico Widgets-RTL</a>\r
 </ul>\r
   </div>\r
 </div>\r
index ead94d3..4b3c62d 100644 (file)
@@ -17,7 +17,6 @@ Rico.onLoad( function() {
   new Rico.Accordion( 'accExample', {panelHeight:160});\r
   new Rico.TabbedPanel( 'tabsExample', {panelHeight:160});\r
   var cal=new Rico.CalendarControl("ricoCal",{position:'auto'});\r
-  cal.atLoad();\r
   cal.selectNow();\r
   cal.openPopup();\r
   dialog=new Rico.Window('',{height:'250px',width:'300px',overflow:'auto'}, 'dialog');\r
@@ -32,13 +31,10 @@ function openWindow(btn) {
 <link href="../demo.css" type="text/css" rel="stylesheet" />\r
 <style type="text/css">\r
 #accExample {\r
-  width: 25em;\r
+  width: 27em;\r
 }\r
 #tabsExample {\r
-  width: 25em;\r
-}\r
-body > div.ui-dialog {\r
-  font-size: 80%;\r
+  width: 30em;\r
 }\r
 </style>\r
 \r
@@ -63,7 +59,7 @@ The widgets are compatible with all base libraries and themes.
 <h2 style='margin-bottom:1px;'>Rico LiveGrid</h2>\r
 <p style='margin-top:1px;'>Click on a cell to see available actions</p>\r
 \r
-<Rico:LiveGrid runat='server' id='population' menuEvent='click' rows='6' highlightElem='cursorRow' defaultWidth='90' HtmlSourceId='population_data'>\r
+<Rico:LiveGrid runat='server' id='population' menuEvent='click' rows='6' highlightElem='cursorRow' defaultWidth='90' BufferType='AjaxLoadOnce' dataProvider="'../data/population.xml'">\r
   <Rico:ColumnGroup runat='server' heading="" />\r
   <Rico:Column runat='server' heading='Country or area' width='200' />\r
   <Rico:ColumnGroup runat='server' heading="Population (thousands)" />\r
@@ -74,239 +70,6 @@ The widgets are compatible with all base libraries and themes.
   <Rico:Column runat='server' heading='2050' width='90' DataType='number' />\r
 </Rico:LiveGrid>\r
 \r
-<table id="population_data" style="display:none;">\r
- <tr><td>Afghanistan</td><td>8151</td><td>28150</td><td>34246</td><td>44970</td><td>73938</td> </tr>\r
- <tr><td>Albania</td><td>1215</td><td>3155</td><td>3256</td><td>3395</td><td>3303</td> </tr>\r
- <tr><td>Algeria</td><td>8753</td><td>34895</td><td>38088</td><td>42882</td><td>49610</td> </tr>\r
- <tr><td>American Samoa</td><td>19</td><td>67</td><td>74</td><td>86</td><td>107</td> </tr>\r
- <tr><td>Andorra</td><td>6</td><td>86</td><td>93</td><td>107</td><td>137</td> </tr>\r
- <tr><td>Angola</td><td>4148</td><td>18498</td><td>21690</td><td>27441</td><td>42267</td> </tr>\r
- <tr><td>Anguilla</td><td>5</td><td>15</td><td>17</td><td>18</td><td>20</td> </tr>\r
- <tr><td>Antigua and Barbuda</td><td>46</td><td>88</td><td>93</td><td>101</td><td>112</td> </tr>\r
- <tr><td>Argentina</td><td>17150</td><td>40276</td><td>42548</td><td>45883</td><td>50943</td> </tr>\r
- <tr><td>Armenia</td><td>1354</td><td>3083</td><td>3139</td><td>3181</td><td>3018</td> </tr>\r
- <tr><td>Aruba</td><td>38</td><td>107</td><td>109</td><td>112</td><td>106</td> </tr>\r
- <tr><td>Australia</td><td>8219</td><td>21293</td><td>22607</td><td>24703</td><td>28724</td> </tr>\r
- <tr><td>Austria</td><td>6936</td><td>8364</td><td>8467</td><td>8600</td><td>8515</td> </tr>\r
- <tr><td>Azerbaijan</td><td>2896</td><td>8832</td><td>9426</td><td>10128</td><td>10579</td> </tr>\r
- <tr><td>Bahamas</td><td>79</td><td>342</td><td>366</td><td>402</td><td>455</td> </tr>\r
- <tr><td>Bahrain</td><td>116</td><td>791</td><td>882</td><td>1021</td><td>1277</td> </tr>\r
- <tr><td>Bangladesh</td><td>43595</td><td>162221</td><td>175217</td><td>195012</td><td>222495</td> </tr>\r
- <tr><td>Barbados</td><td>211</td><td>256</td><td>260</td><td>262</td><td>237</td> </tr>\r
- <tr><td>Belarus</td><td>7745</td><td>9634</td><td>9355</td><td>8851</td><td>7275</td> </tr>\r
- <tr><td>Belgium</td><td>8628</td><td>10647</td><td>10878</td><td>11191</td><td>11493</td> </tr>\r
- <tr><td>Belize</td><td>69</td><td>307</td><td>344</td><td>404</td><td>506</td> </tr>\r
- <tr><td>Benin</td><td>2050</td><td>8935</td><td>10647</td><td>13767</td><td>21982</td> </tr>\r
- <tr><td>Bermuda</td><td>37</td><td>65</td><td>65</td><td>66</td><td>63</td> </tr>\r
- <tr><td>Bhutan</td><td>168</td><td>697</td><td>770</td><td>865</td><td>1013</td> </tr>\r
- <tr><td>Bolivia</td><td>2714</td><td>9863</td><td>10854</td><td>12368</td><td>14908</td> </tr>\r
- <tr><td>Bosnia and Herzegovina</td><td>2661</td><td>3767</td><td>3727</td><td>3608</td><td>3008</td> </tr>\r
- <tr><td>Botswana</td><td>413</td><td>1950</td><td>2106</td><td>2337</td><td>2758</td> </tr>\r
- <tr><td>Brazil</td><td>53975</td><td>193734</td><td>202866</td><td>213802</td><td>218512</td> </tr>\r
- <tr><td>British Virgin Islands</td><td>7</td><td>23</td><td>24</td><td>26</td><td>28</td> </tr>\r
- <tr><td>Brunei Darussalam</td><td>48</td><td>400</td><td>443</td><td>513</td><td>658</td> </tr>\r
- <tr><td>Bulgaria</td><td>7251</td><td>7545</td><td>7263</td><td>6752</td><td>5392</td> </tr>\r
- <tr><td>Burkina Faso</td><td>4080</td><td>15757</td><td>19013</td><td>24837</td><td>40830</td> </tr>\r
- <tr><td>Burundi</td><td>2456</td><td>8303</td><td>9413</td><td>11161</td><td>14846</td> </tr>\r
- <tr><td>Cambodia</td><td>4346</td><td>14805</td><td>16357</td><td>18973</td><td>23795</td> </tr>\r
- <tr><td>Cameroon</td><td>4466</td><td>19522</td><td>22169</td><td>26478</td><td>36736</td> </tr>\r
- <tr><td>Canada</td><td>13737</td><td>33573</td><td>35493</td><td>38659</td><td>44414</td> </tr>\r
- <tr><td>Cape Verde</td><td>146</td><td>506</td><td>548</td><td>616</td><td>703</td> </tr>\r
- <tr><td>Cayman Islands</td><td>7</td><td>56</td><td>59</td><td>63</td><td>66</td> </tr>\r
- <tr><td>Central African Republic</td><td>1327</td><td>4422</td><td>4927</td><td>5747</td><td>7603</td> </tr>\r
- <tr><td>Chad</td><td>2429</td><td>11206</td><td>13120</td><td>16906</td><td>27776</td> </tr>\r
- <tr><td>Channel Islands</td><td>102</td><td>150</td><td>151</td><td>152</td><td>144</td> </tr>\r
- <tr><td>Chile</td><td>6082</td><td>16970</td><td>17926</td><td>19266</td><td>20657</td> </tr>\r
- <tr><td>China</td><td>544951</td><td>1345751</td><td>1395998</td><td>1453140</td><td>1417045</td> </tr>\r
- <tr><td>China, Hong Kong SAR</td><td>1974</td><td>7022</td><td>7398</td><td>7969</td><td>8623</td> </tr>\r
- <tr><td>China, Macao SAR</td><td>190</td><td>538</td><td>568</td><td>603</td><td>593</td> </tr>\r
- <tr><td>Colombia</td><td>12000</td><td>45660</td><td>49385</td><td>54920</td><td>62877</td> </tr>\r
- <tr><td>Comoros</td><td>156</td><td>676</td><td>767</td><td>907</td><td>1226</td> </tr>\r
- <tr><td>Congo</td><td>808</td><td>3683</td><td>4225</td><td>5094</td><td>6863</td> </tr>\r
- <tr><td>Cook Islands</td><td>15</td><td>20</td><td>20</td><td>21</td><td>24</td> </tr>\r
- <tr><td>Costa Rica</td><td>966</td><td>4579</td><td>4957</td><td>5521</td><td>6373</td> </tr>\r
- <tr><td>Côte d'Ivoire</td><td>2505</td><td>21075</td><td>24210</td><td>29738</td><td>43373</td> </tr>\r
- <tr><td>Croatia</td><td>3850</td><td>4416</td><td>4370</td><td>4254</td><td>3825</td> </tr>\r
- <tr><td>Cuba</td><td>5920</td><td>11204</td><td>11213</td><td>11148</td><td>9725</td> </tr>\r
- <tr><td>Cyprus</td><td>494</td><td>871</td><td>925</td><td>1014</td><td>1175</td> </tr>\r
- <tr><td>Czech Republic</td><td>8925</td><td>10369</td><td>10510</td><td>10573</td><td>10294</td> </tr>\r
- <tr><td>Dem. People's Rep. of Korea</td><td>9737</td><td>23906</td><td>24399</td><td>25128</td><td>24562</td> </tr>\r
- <tr><td>Dem. Republic of the Congo</td><td>12184</td><td>66020</td><td>77419</td><td>98123</td><td>147512</td> </tr>\r
- <tr><td>Denmark</td><td>4271</td><td>5470</td><td>5523</td><td>5590</td><td>5551</td> </tr>\r
- <tr><td>Djibouti</td><td>62</td><td>864</td><td>953</td><td>1111</td><td>1469</td> </tr>\r
- <tr><td>Dominica</td><td>51</td><td>67</td><td>67</td><td>68</td><td>66</td> </tr>\r
- <tr><td>Dominican Republic</td><td>2427</td><td>10090</td><td>10867</td><td>11973</td><td>13441</td> </tr>\r
- <tr><td>Ecuador</td><td>3387</td><td>13625</td><td>14596</td><td>16074</td><td>17989</td> </tr>\r
- <tr><td>Egypt</td><td>21514</td><td>82999</td><td>91778</td><td>104970</td><td>129533</td> </tr>\r
- <tr><td>El Salvador</td><td>2200</td><td>6163</td><td>6383</td><td>6895</td><td>7882</td> </tr>\r
- <tr><td>Equatorial Guinea</td><td>226</td><td>676</td><td>781</td><td>971</td><td>1445</td> </tr>\r
- <tr><td>Eritrea</td><td>1141</td><td>5073</td><td>6009</td><td>7404</td><td>10787</td> </tr>\r
- <tr><td>Estonia</td><td>1101</td><td>1340</td><td>1337</td><td>1321</td><td>1233</td> </tr>\r
- <tr><td>Ethiopia</td><td>18434</td><td>82825</td><td>96237</td><td>119822</td><td>173811</td> </tr>\r
- <tr><td>Faeroe Islands</td><td>32</td><td>50</td><td>52</td><td>55</td><td>58</td> </tr>\r
- <tr><td>Falkland Islands (Malvinas)</td>  <td>2</td><td>3</td><td>3</td><td>3</td><td>3</td> </tr>\r
- <tr><td>Fiji</td><td>289</td><td>849</td><td>874</td><td>905</td><td>910</td> </tr>\r
- <tr><td>Finland</td><td>4009</td><td>5326</td><td>5432</td><td>5533</td><td>5445</td> </tr>\r
- <tr><td>France</td><td>41832</td><td>62343</td><td>63900</td><td>65769</td><td>67668</td> </tr>\r
- <tr><td>French Guiana</td><td>25</td><td>226</td><td>261</td><td>323</td><td>462</td> </tr>\r
- <tr><td>French Polynesia</td><td>61</td><td>269</td><td>289</td><td>318</td><td>354</td> </tr>\r
- <tr><td>Gabon</td><td>469</td><td>1475</td><td>1639</td><td>1915</td><td>2471</td> </tr>\r
- <tr><td>Gambia</td><td>258</td><td>1705</td><td>1985</td><td>2478</td><td>3763</td> </tr>\r
- <tr><td>Georgia</td><td>3527</td><td>4260</td><td>4084</td><td>3888</td><td>3267</td> </tr>\r
- <tr><td>Germany</td><td>68376</td><td>82167</td><td>81346</td><td>79258</td><td>70504</td> </tr>\r
- <tr><td>Ghana</td><td>4981</td><td>23837</td><td>26925</td><td>32233</td><td>45213</td> </tr>\r
- <tr><td>Gibraltar</td><td>20</td><td>31</td><td>31</td><td>32</td><td>30</td> </tr>\r
- <tr><td>Greece</td><td>7566</td><td>11161</td><td>11261</td><td>11274</td><td>10939</td> </tr>\r
- <tr><td>Greenland</td><td>23</td><td>57</td><td>57</td><td>56</td><td>50</td> </tr>\r
- <tr><td>Grenada</td><td>77</td><td>104</td><td>107</td><td>109</td><td>97</td> </tr>\r
- <tr><td>Guadeloupe</td><td>210</td><td>465</td><td>476</td><td>489</td><td>477</td> </tr>\r
- <tr><td>Guam</td><td>60</td><td>178</td><td>191</td><td>211</td><td>242</td> </tr>\r
- <tr><td>Guatemala</td><td>3146</td><td>14027</td><td>16227</td><td>19927</td><td>27480</td> </tr>\r
- <tr><td>Guinea</td><td>2619</td><td>10069</td><td>11844</td><td>15158</td><td>23975</td> </tr>\r
- <tr><td>Guinea-Bissau</td><td>518</td><td>1611</td><td>1848</td><td>2296</td><td>3555</td> </tr>\r
- <tr><td>Guyana</td><td>423</td><td>762</td><td>754</td><td>732</td><td>558</td> </tr>\r
- <tr><td>Haiti</td><td>3221</td><td>10033</td><td>10957</td><td>12476</td><td>15485</td> </tr>\r
- <tr><td>Holy See</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Honduras</td><td>1487</td><td>7466</td><td>8386</td><td>9844</td><td>12402</td> </tr>\r
- <tr><td>Hungary</td><td>9338</td><td>9993</td><td>9874</td><td>9647</td><td>8934</td> </tr>\r
- <tr><td>Iceland</td><td>143</td><td>323</td><td>353</td><td>384</td><td>407</td> </tr>\r
- <tr><td>India</td><td>371857</td><td>1198003</td><td>1294192</td><td>1431272</td><td>1613800</td> </tr>\r
- <tr><td>Indonesia</td><td>77152</td><td>229965</td><td>244191</td><td>263287</td><td>288110</td> </tr>\r
- <tr><td>Iran (Islamic Republic of)</td>  <td>16913</td><td>74196</td><td>79454</td><td>87134</td><td>96975</td> </tr>\r
- <tr><td>Iraq</td><td>5719</td><td>30747</td><td>35884</td><td>44692</td><td>63995</td> </tr>\r
- <tr><td>Ireland</td><td>2969</td><td>4515</td><td>4886</td><td>5370</td><td>6295</td> </tr>\r
- <tr><td>Isle of Man</td><td>55</td><td>80</td><td>81</td><td>80</td><td>75</td> </tr>\r
- <tr><td>Israel</td><td>1258</td><td>7170</td><td>7823</td><td>8769</td><td>10649</td> </tr>\r
- <tr><td>Italy</td><td>46367</td><td>59870</td><td>60604</td><td>60018</td><td>57066</td> </tr>\r
- <tr><td>Jamaica</td><td>1403</td><td>2719</td><td>2786</td><td>2866</td><td>2683</td> </tr>\r
- <tr><td>Japan</td><td>82824</td><td>127156</td><td>125791</td><td>120793</td><td>101659</td> </tr>\r
- <tr><td>Jordan</td><td>472</td><td>6316</td><td>6957</td><td>8088</td><td>10241</td> </tr>\r
- <tr><td>Kazakhstan</td><td>6703</td><td>15637</td><td>16289</td><td>17025</td><td>17848</td> </tr>\r
- <tr><td>Kenya</td><td>6077</td><td>39802</td><td>46433</td><td>57573</td><td>85410</td> </tr>\r
- <tr><td>Kiribati</td><td>26</td><td>98</td><td>107</td><td>123</td><td>151</td> </tr>\r
- <tr><td>Kuwait</td><td>152</td><td>2985</td><td>3378</td><td>3988</td><td>5240</td> </tr>\r
- <tr><td>Kyrgyzstan</td><td>1740</td><td>5482</td><td>5877</td><td>6378</td><td>6882</td> </tr>\r
- <tr><td>Lao People's Dem. Republic</td><td>1666</td><td>6320</td><td>7028</td><td>8273</td><td>10744</td> </tr>\r
- <tr><td>Latvia</td><td>1949</td><td>2249</td><td>2197</td><td>2101</td><td>1854</td> </tr>\r
- <tr><td>Lebanon</td><td>1443</td><td>4224</td><td>4426</td><td>4736</td><td>5033</td> </tr>\r
- <tr><td>Lesotho</td><td>734</td><td>2067</td><td>2168</td><td>2306</td><td>2491</td> </tr>\r
- <tr><td>Liberia</td><td>824</td><td>3955</td><td>4665</td><td>5858</td><td>8841</td> </tr>\r
- <tr><td>Libyan Arab Jamahiriya</td><td>1029</td><td>6420</td><td>7158</td><td>8144</td><td>9819</td> </tr>\r
- <tr><td>Liechtenstein</td><td>14</td><td>36</td><td>38</td><td>40</td><td>45</td> </tr>\r
- <tr><td>Lithuania</td><td>2567</td><td>3287</td><td>3143</td><td>2985</td><td>2579</td> </tr>\r
- <tr><td>Luxembourg</td><td>296</td><td>486</td><td>520</td><td>582</td><td>733</td> </tr>\r
- <tr><td>Madagascar</td><td>4084</td><td>19625</td><td>22853</td><td>28595</td><td>42693</td> </tr>\r
- <tr><td>Malawi</td><td>2881</td><td>15263</td><td>17998</td><td>23194</td><td>36575</td> </tr>\r
- <tr><td>Malaysia</td><td>6110</td><td>27468</td><td>30041</td><td>33770</td><td>39664</td> </tr>\r
- <tr><td>Maldives</td><td>82</td><td>309</td><td>338</td><td>384</td><td>455</td> </tr>\r
- <tr><td>Mali</td><td>4268</td><td>13010</td><td>14993</td><td>18603</td><td>28260</td> </tr>\r
- <tr><td>Malta</td><td>312</td><td>409</td><td>417</td><td>426</td><td>413</td> </tr>\r
- <tr><td>Marshall Islands</td><td>13</td><td>62</td><td>70</td><td>79</td><td>92</td> </tr>\r
- <tr><td>Martinique</td><td>222</td><td>405</td><td>411</td><td>418</td><td>393</td> </tr>\r
- <tr><td>Mauritania</td><td>651</td><td>3291</td><td>3732</td><td>4443</td><td>6061</td> </tr>\r
- <tr><td>Mauritius</td><td>493</td><td>1288</td><td>1337</td><td>1400</td><td>1426</td> </tr>\r
- <tr><td>Mayotte</td><td>15</td><td>194</td><td>224</td><td>277</td><td>386</td> </tr>\r
- <tr><td>Mexico</td><td>27741</td><td>109610</td><td>115528</td><td>123366</td><td>128964</td> </tr>\r
- <tr><td>Micronesia (Fed. States of)</td>  <td>32</td><td>111</td><td>114</td><td>122</td><td>128</td> </tr>\r
- <tr><td>Moldova (Republic of)</td>  <td>2341</td><td>3604</td><td>3462</td><td>3291</td><td>2734</td> </tr>\r
- <tr><td>Monaco</td><td>20</td><td>33</td><td>33</td><td>35</td><td>38</td> </tr>\r
- <tr><td>Mongolia</td><td>761</td><td>2671</td><td>2855</td><td>3134</td><td>3446</td> </tr>\r
- <tr><td>Montenegro</td><td>399</td><td>624</td><td>627</td><td>633</td><td>618</td> </tr>\r
- <tr><td>Montserrat</td><td>14</td><td>6</td><td>6</td><td>7</td><td>7</td> </tr>\r
- <tr><td>Morocco</td><td>8953</td><td>31993</td><td>34330</td><td>37865</td><td>42583</td> </tr>\r
- <tr><td>Mozambique</td><td>6442</td><td>22894</td><td>25957</td><td>31190</td><td>44148</td> </tr>\r
- <tr><td>Myanmar</td><td>17158</td><td>50020</td><td>53087</td><td>57585</td><td>63373</td> </tr>\r
- <tr><td>Namibia</td><td>485</td><td>2171</td><td>2412</td><td>2810</td><td>3588</td> </tr>\r
- <tr><td>Nauru</td><td>3</td><td>10</td><td>11</td><td>11</td><td>11</td> </tr>\r
- <tr><td>Nepal</td><td>8126</td><td>29331</td><td>32503</td><td>38031</td><td>49028</td> </tr>\r
- <tr><td>Netherlands</td><td>10114</td><td>16592</td><td>16915</td><td>17348</td><td>17399</td> </tr>\r
- <tr><td>Netherlands Antilles</td><td>112</td><td>198</td><td>207</td><td>210</td><td>192</td> </tr>\r
- <tr><td>New Caledonia</td><td>65</td><td>250</td><td>271</td><td>304</td><td>362</td> </tr>\r
- <tr><td>New Zealand</td><td>1908</td><td>4266</td><td>4492</td><td>4831</td><td>5349</td> </tr>\r
- <tr><td>Nicaragua</td><td>1295</td><td>5743</td><td>6265</td><td>7058</td><td>8143</td> </tr>\r
- <tr><td>Niger</td><td>2462</td><td>15290</td><td>19150</td><td>27388</td><td>58216</td> </tr>\r
- <tr><td>Nigeria</td><td>36680</td><td>154729</td><td>175928</td><td>210057</td><td>289083</td> </tr>\r
- <tr><td>Niue</td><td>5</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Northern Mariana Islands</td><td>7</td><td>87</td><td>96</td><td>111</td><td>151</td> </tr>\r
- <tr><td>Norway</td><td>3265</td><td>4812</td><td>5036</td><td>5365</td><td>5947</td> </tr>\r
- <tr><td>Occupied Palestinian Territory</td><td>1005</td><td>4277</td><td>5090</td><td>6553</td><td>10265</td> </tr>\r
- <tr><td>Oman</td><td>456</td><td>2845</td><td>3198</td><td>3782</td><td>4878</td> </tr>\r
- <tr><td>Pakistan</td><td>41177</td><td>180808</td><td>205504</td><td>246286</td><td>335195</td> </tr>\r
- <tr><td>Palau</td><td>7</td><td>20</td><td>21</td><td>23</td><td>26</td> </tr>\r
- <tr><td>Panama</td><td>860</td><td>3454</td><td>3773</td><td>4267</td><td>5092</td> </tr>\r
- <tr><td>Papua New Guinea</td><td>1798</td><td>6732</td><td>7678</td><td>9265</td><td>12871</td> </tr>\r
- <tr><td>Paraguay</td><td>1473</td><td>6349</td><td>7007</td><td>8026</td><td>9867</td> </tr>\r
- <tr><td>Peru</td><td>7632</td><td>29165</td><td>31197</td><td>34528</td><td>39776</td> </tr>\r
- <tr><td>Philippines</td><td>19996</td><td>91983</td><td>101734</td><td>117270</td><td>146156</td> </tr>\r
- <tr><td>Pitcairn</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td> </tr>\r
- <tr><td>Poland</td><td>24824</td><td>38074</td><td>37788</td><td>36964</td><td>32013</td> </tr>\r
- <tr><td>Portugal</td><td>8405</td><td>10707</td><td>10787</td><td>10706</td><td>10015</td> </tr>\r
- <tr><td>Puerto Rico</td><td>2218</td><td>3982</td><td>4074</td><td>4176</td><td>4103</td> </tr>\r
- <tr><td>Qatar</td><td>25</td><td>1409</td><td>1630</td><td>1848</td><td>2316</td> </tr>\r
- <tr><td>Republic of Korea</td><td>19211</td><td>48333</td><td>49153</td><td>49484</td><td>44077</td> </tr>\r
- <tr><td>Réunion</td><td>248</td><td>827</td><td>886</td><td>973</td><td>1096</td> </tr>\r
- <tr><td>Romania</td><td>16311</td><td>21275</td><td>20787</td><td>19961</td><td>17279</td> </tr>\r
- <tr><td>Russian Federation</td><td>102702</td><td>140874</td><td>137983</td><td>132345</td><td>116097</td> </tr>\r
- <tr><td>Rwanda</td><td>2162</td><td>9998</td><td>11743</td><td>14676</td><td>22082</td> </tr>\r
- <tr><td>Saint Helena</td><td>5</td><td>4</td><td>4</td><td>5</td><td>5</td> </tr>\r
- <tr><td>Saint Kitts and Nevis</td><td>46</td><td>52</td><td>56</td><td>61</td><td>69</td> </tr>\r
- <tr><td>Saint Lucia</td><td>83</td><td>172</td><td>182</td><td>198</td><td>217</td> </tr>\r
- <tr><td>Saint Pierre and Miquelon</td><td>5</td><td>6</td><td>6</td><td>6</td><td>6</td> </tr>\r
- <tr><td>St. Vincent and the Grenadines</td><td>67</td><td>109</td><td>110</td><td>111</td><td>119</td> </tr>\r
- <tr><td>Samoa</td><td>82</td><td>179</td><td>181</td><td>188</td><td>192</td> </tr>\r
- <tr><td>San Marino</td><td>13</td><td>31</td><td>32</td><td>33</td><td>33</td> </tr>\r
- <tr><td>Sao Tome and Principe</td><td>60</td><td>163</td><td>180</td><td>216</td><td>296</td> </tr>\r
- <tr><td>Saudi Arabia</td><td>3201</td><td>25721</td><td>28933</td><td>34176</td><td>43658</td> </tr>\r
- <tr><td>Senegal</td><td>2416</td><td>12534</td><td>14526</td><td>17861</td><td>26102</td> </tr>\r
- <tr><td>Serbia</td><td>6732</td><td>9850</td><td>9828</td><td>9720</td><td>9193</td> </tr>\r
- <tr><td>Seychelles</td><td>36</td><td>84</td><td>86</td><td>91</td><td>97</td> </tr>\r
- <tr><td>Sierra Leone</td><td>1944</td><td>5696</td><td>6557</td><td>8112</td><td>12446</td> </tr>\r
- <tr><td>Singapore</td><td>1022</td><td>4737</td><td>5059</td><td>5362</td><td>5221</td> </tr>\r
- <tr><td>Slovakia</td><td>3463</td><td>5406</td><td>5437</td><td>5413</td><td>4917</td> </tr>\r
- <tr><td>Slovenia</td><td>1473</td><td>2020</td><td>2044</td><td>2050</td><td>1954</td> </tr>\r
- <tr><td>Solomon Islands</td><td>90</td><td>523</td><td>599</td><td>725</td><td>1007</td> </tr>\r
- <tr><td>Somalia</td><td>2264</td><td>9133</td><td>10731</td><td>13922</td><td>23522</td> </tr>\r
- <tr><td>South Africa</td><td>13683</td><td>50110</td><td>51684</td><td>53766</td><td>56802</td> </tr>\r
- <tr><td>Spain</td><td>28009</td><td>44904</td><td>47203</td><td>49265</td><td>51260</td> </tr>\r
- <tr><td>Sri Lanka</td><td>8241</td><td>20238</td><td>21167</td><td>22033</td><td>21705</td> </tr>\r
- <tr><td>Sudan</td><td>9190</td><td>42272</td><td>47730</td><td>56688</td><td>75884</td> </tr>\r
- <tr><td>Suriname</td><td>215</td><td>520</td><td>547</td><td>586</td><td>619</td> </tr>\r
- <tr><td>Swaziland</td><td>273</td><td>1185</td><td>1287</td><td>1455</td><td>1749</td> </tr>\r
- <tr><td>Sweden</td><td>7014</td><td>9249</td><td>9498</td><td>9915</td><td>10571</td> </tr>\r
- <tr><td>Switzerland</td><td>4693</td><td>7568</td><td>7736</td><td>8020</td><td>8514</td> </tr>\r
- <tr><td>Syrian Arab Republic</td><td>3536</td><td>21906</td><td>24494</td><td>28592</td><td>36911</td> </tr>\r
- <tr><td>Tajikistan</td><td>1532</td><td>6952</td><td>7761</td><td>9075</td><td>11111</td> </tr>\r
- <tr><td>TFYR Macedonia</td><td>1230</td><td>2042</td><td>2045</td><td>2037</td><td>1857</td> </tr>\r
- <tr><td>Thailand</td><td>20607</td><td>67764</td><td>69939</td><td>72628</td><td>73361</td> </tr>\r
- <tr><td>Timor-Leste</td><td>433</td><td>1134</td><td>1385</td><td>1869</td><td>3217</td> </tr>\r
- <tr><td>Togo</td><td>1329</td><td>6619</td><td>7607</td><td>9282</td><td>13196</td> </tr>\r
- <tr><td>Tokelau</td><td>2</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>\r
- <tr><td>Tonga</td><td>47</td><td>104</td><td>105</td><td>112</td><td>123</td> </tr>\r
- <tr><td>Trinidad and Tobago</td><td>636</td><td>1339</td><td>1368</td><td>1388</td><td>1278</td> </tr>\r
- <tr><td>Tunisia</td><td>3530</td><td>10272</td><td>10884</td><td>11797</td><td>12711</td> </tr>\r
- <tr><td>Turkey</td><td>21484</td><td>74816</td><td>79966</td><td>87364</td><td>97389</td> </tr>\r
- <tr><td>Turkmenistan</td><td>1211</td><td>5110</td><td>5509</td><td>6072</td><td>6796</td> </tr>\r
- <tr><td>Turks and Caicos Islands</td><td>5</td><td>33</td><td>35</td><td>38</td><td>40</td> </tr>\r
- <tr><td>Tuvalu</td><td>5</td><td>10</td><td>10</td><td>11</td><td>11</td> </tr>\r
- <tr><td>Uganda</td><td>5158</td><td>32710</td><td>39710</td><td>53406</td><td>91271</td> </tr>\r
- <tr><td>Ukraine</td><td>37298</td><td>45708</td><td>44165</td><td>41617</td><td>35026</td> </tr>\r
- <tr><td>United Arab Emirates</td><td>70</td><td>4599</td><td>5193</td><td>6109</td><td>8253</td> </tr>\r
- <tr><td>United Kingdom</td><td>50616</td><td>61565</td><td>63528</td><td>66601</td><td>72365</td> </tr>\r
- <tr><td>United Republic of Tanzania</td><td>7650</td><td>43739</td><td>52109</td><td>67394</td><td>109450</td> </tr>\r
- <tr><td>United States of America</td><td>157813</td><td>314659</td><td>332334</td><td>358735</td><td>403932</td> </tr>\r
- <tr><td>United States Virgin Islands</td><td>27</td><td>110</td><td>108</td><td>103</td><td>75</td> </tr>\r
- <tr><td>Uruguay</td><td>2239</td><td>3361</td><td>3430</td><td>3546</td><td>3637</td> </tr>\r
- <tr><td>Uzbekistan</td><td>6314</td><td>27488</td><td>29456</td><td>32715</td><td>36439</td> </tr>\r
- <tr><td>Vanuatu</td><td>48</td><td>240</td><td>276</td><td>338</td><td>482</td> </tr>\r
- <tr><td>Venezuela (Bolivarian Republic of)</td>  <td>5094</td><td>28583</td><td>31292</td><td>35370</td><td>42042</td> </tr>\r
- <tr><td>Viet Nam</td><td>27367</td><td>88069</td><td>93647</td><td>102054</td><td>111666</td> </tr>\r
- <tr><td>Wallis and Futuna Islands</td><td>7</td><td>15</td><td>16</td><td>17</td><td>17</td> </tr>\r
- <tr><td>Western Sahara</td><td>14</td><td>513</td><td>625</td><td>775</td><td>938</td> </tr>\r
- <tr><td>Yemen</td><td>4316</td><td>23580</td><td>27819</td><td>35509</td><td>53689</td> </tr>\r
- <tr><td>Zambia</td><td>2340</td><td>12935</td><td>14980</td><td>18890</td><td>28957</td> </tr>\r
- <tr><td>Zimbabwe</td><td>2747</td><td>12523</td><td>14029</td><td>16780</td><td>22178</td> </tr>\r
-</table>\r
-\r
 <p style='font-size:smaller;'>Data source: <a href="http://www.un.org/esa/population/unpop.htm">Population Division of the\r
 Department of Economic and Social Affairs of the United Nations Secretariat</a> (2009).\r
 <em>World Population Prospects: The 2008 Revision. Highlights.</em> New York: United Nations.  </p>\r
@@ -356,7 +119,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--\r
 <br>I took the one less traveled by,\r
 <br>And that has made all the difference.\r
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
      </div>\r
   </div>\r
 \r
@@ -402,7 +165,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--\r
 <br>I took the one less traveled by,\r
 <br>And that has made all the difference.\r
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>\r
      </div>\r
   </div>\r
 \r
index 64d4fdb..b68dbed 100644 (file)
@@ -4,8 +4,8 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html dir='rtl'>
 <head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
-<title>Rico widgets - RTL</title>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<title>Rico widgets styled user-selectable themes</title>
 
 <Rico:LoadClient checkQueryString='true' runat='server' />
 
@@ -17,7 +17,6 @@ Rico.onLoad( function() {
   new Rico.Accordion( 'accExample', {panelHeight:160});
   new Rico.TabbedPanel( 'tabsExample', {panelHeight:160});
   var cal=new Rico.CalendarControl("ricoCal",{position:'auto'});
-  cal.atLoad();
   cal.selectNow();
   cal.openPopup();
   dialog=new Rico.Window('',{height:'250px',width:'300px',overflow:'auto'}, 'dialog');
@@ -32,10 +31,10 @@ function openWindow(btn) {
 <link href="../demo.css" type="text/css" rel="stylesheet" />
 <style type="text/css">
 #accExample {
-  width: 350px;
+  width: 27em;
 }
 #tabsExample {
-  width: 450px;
+  width: 30em;
 }
 </style>
 
@@ -50,7 +49,7 @@ Base Library:
 document.write(Rico.Lib+' '+Rico.LibVersion);
 </script>
 <hr>
-<p> שָׁלוֹם &nbsp;&nbsp;&nbsp; سَلاَمٌ
+<p style='font-size:larger;'> שָׁלוֹם &nbsp;&nbsp;&nbsp; سَلاَمٌ </p>
 <p>This example displays some of the widgets that come with Rico.
 In this case the page is specified to read right-to-left (dir=rtl).
 It demonstrates that Rico widgets display correctly for languages written right-to-left, such as Arabic and Hebrew.
@@ -65,7 +64,7 @@ which the chromium team has marked as WONTFIX.
 <h2 style='margin-bottom:1px;'>Rico LiveGrid</h2>
 <p style='margin-top:1px;'>Click on a cell to see available actions</p>
 
-<Rico:LiveGrid runat='server' id='population' menuEvent='click' rows='6' frozenColumns='0' highlightElem='cursorRow' defaultWidth='90' HtmlSourceId='population_data'>
+<Rico:LiveGrid runat='server' id='population' menuEvent='click' rows='6' highlightElem='cursorRow' defaultWidth='90' BufferType='AjaxLoadOnce' dataProvider="'../data/population.xml'">
   <Rico:ColumnGroup runat='server' heading="" />
   <Rico:Column runat='server' heading='Country or area' width='200' />
   <Rico:ColumnGroup runat='server' heading="Population (thousands)" />
@@ -76,239 +75,6 @@ which the chromium team has marked as WONTFIX.
   <Rico:Column runat='server' heading='2050' width='90' DataType='number' />
 </Rico:LiveGrid>
 
-<table id="population_data" style="display:none;">
- <tr><td>Afghanistan</td><td>8151</td><td>28150</td><td>34246</td><td>44970</td><td>73938</td> </tr>
- <tr><td>Albania</td><td>1215</td><td>3155</td><td>3256</td><td>3395</td><td>3303</td> </tr>
- <tr><td>Algeria</td><td>8753</td><td>34895</td><td>38088</td><td>42882</td><td>49610</td> </tr>
- <tr><td>American Samoa</td><td>19</td><td>67</td><td>74</td><td>86</td><td>107</td> </tr>
- <tr><td>Andorra</td><td>6</td><td>86</td><td>93</td><td>107</td><td>137</td> </tr>
- <tr><td>Angola</td><td>4148</td><td>18498</td><td>21690</td><td>27441</td><td>42267</td> </tr>
- <tr><td>Anguilla</td><td>5</td><td>15</td><td>17</td><td>18</td><td>20</td> </tr>
- <tr><td>Antigua and Barbuda</td><td>46</td><td>88</td><td>93</td><td>101</td><td>112</td> </tr>
- <tr><td>Argentina</td><td>17150</td><td>40276</td><td>42548</td><td>45883</td><td>50943</td> </tr>
- <tr><td>Armenia</td><td>1354</td><td>3083</td><td>3139</td><td>3181</td><td>3018</td> </tr>
- <tr><td>Aruba</td><td>38</td><td>107</td><td>109</td><td>112</td><td>106</td> </tr>
- <tr><td>Australia</td><td>8219</td><td>21293</td><td>22607</td><td>24703</td><td>28724</td> </tr>
- <tr><td>Austria</td><td>6936</td><td>8364</td><td>8467</td><td>8600</td><td>8515</td> </tr>
- <tr><td>Azerbaijan</td><td>2896</td><td>8832</td><td>9426</td><td>10128</td><td>10579</td> </tr>
- <tr><td>Bahamas</td><td>79</td><td>342</td><td>366</td><td>402</td><td>455</td> </tr>
- <tr><td>Bahrain</td><td>116</td><td>791</td><td>882</td><td>1021</td><td>1277</td> </tr>
- <tr><td>Bangladesh</td><td>43595</td><td>162221</td><td>175217</td><td>195012</td><td>222495</td> </tr>
- <tr><td>Barbados</td><td>211</td><td>256</td><td>260</td><td>262</td><td>237</td> </tr>
- <tr><td>Belarus</td><td>7745</td><td>9634</td><td>9355</td><td>8851</td><td>7275</td> </tr>
- <tr><td>Belgium</td><td>8628</td><td>10647</td><td>10878</td><td>11191</td><td>11493</td> </tr>
- <tr><td>Belize</td><td>69</td><td>307</td><td>344</td><td>404</td><td>506</td> </tr>
- <tr><td>Benin</td><td>2050</td><td>8935</td><td>10647</td><td>13767</td><td>21982</td> </tr>
- <tr><td>Bermuda</td><td>37</td><td>65</td><td>65</td><td>66</td><td>63</td> </tr>
- <tr><td>Bhutan</td><td>168</td><td>697</td><td>770</td><td>865</td><td>1013</td> </tr>
- <tr><td>Bolivia</td><td>2714</td><td>9863</td><td>10854</td><td>12368</td><td>14908</td> </tr>
- <tr><td>Bosnia and Herzegovina</td><td>2661</td><td>3767</td><td>3727</td><td>3608</td><td>3008</td> </tr>
- <tr><td>Botswana</td><td>413</td><td>1950</td><td>2106</td><td>2337</td><td>2758</td> </tr>
- <tr><td>Brazil</td><td>53975</td><td>193734</td><td>202866</td><td>213802</td><td>218512</td> </tr>
- <tr><td>British Virgin Islands</td><td>7</td><td>23</td><td>24</td><td>26</td><td>28</td> </tr>
- <tr><td>Brunei Darussalam</td><td>48</td><td>400</td><td>443</td><td>513</td><td>658</td> </tr>
- <tr><td>Bulgaria</td><td>7251</td><td>7545</td><td>7263</td><td>6752</td><td>5392</td> </tr>
- <tr><td>Burkina Faso</td><td>4080</td><td>15757</td><td>19013</td><td>24837</td><td>40830</td> </tr>
- <tr><td>Burundi</td><td>2456</td><td>8303</td><td>9413</td><td>11161</td><td>14846</td> </tr>
- <tr><td>Cambodia</td><td>4346</td><td>14805</td><td>16357</td><td>18973</td><td>23795</td> </tr>
- <tr><td>Cameroon</td><td>4466</td><td>19522</td><td>22169</td><td>26478</td><td>36736</td> </tr>
- <tr><td>Canada</td><td>13737</td><td>33573</td><td>35493</td><td>38659</td><td>44414</td> </tr>
- <tr><td>Cape Verde</td><td>146</td><td>506</td><td>548</td><td>616</td><td>703</td> </tr>
- <tr><td>Cayman Islands</td><td>7</td><td>56</td><td>59</td><td>63</td><td>66</td> </tr>
- <tr><td>Central African Republic</td><td>1327</td><td>4422</td><td>4927</td><td>5747</td><td>7603</td> </tr>
- <tr><td>Chad</td><td>2429</td><td>11206</td><td>13120</td><td>16906</td><td>27776</td> </tr>
- <tr><td>Channel Islands</td><td>102</td><td>150</td><td>151</td><td>152</td><td>144</td> </tr>
- <tr><td>Chile</td><td>6082</td><td>16970</td><td>17926</td><td>19266</td><td>20657</td> </tr>
- <tr><td>China</td><td>544951</td><td>1345751</td><td>1395998</td><td>1453140</td><td>1417045</td> </tr>
- <tr><td>China, Hong Kong SAR</td><td>1974</td><td>7022</td><td>7398</td><td>7969</td><td>8623</td> </tr>
- <tr><td>China, Macao SAR</td><td>190</td><td>538</td><td>568</td><td>603</td><td>593</td> </tr>
- <tr><td>Colombia</td><td>12000</td><td>45660</td><td>49385</td><td>54920</td><td>62877</td> </tr>
- <tr><td>Comoros</td><td>156</td><td>676</td><td>767</td><td>907</td><td>1226</td> </tr>
- <tr><td>Congo</td><td>808</td><td>3683</td><td>4225</td><td>5094</td><td>6863</td> </tr>
- <tr><td>Cook Islands</td><td>15</td><td>20</td><td>20</td><td>21</td><td>24</td> </tr>
- <tr><td>Costa Rica</td><td>966</td><td>4579</td><td>4957</td><td>5521</td><td>6373</td> </tr>
- <tr><td>C𴥠d'Ivoire</td><td>2505</td><td>21075</td><td>24210</td><td>29738</td><td>43373</td> </tr>
- <tr><td>Croatia</td><td>3850</td><td>4416</td><td>4370</td><td>4254</td><td>3825</td> </tr>
- <tr><td>Cuba</td><td>5920</td><td>11204</td><td>11213</td><td>11148</td><td>9725</td> </tr>
- <tr><td>Cyprus</td><td>494</td><td>871</td><td>925</td><td>1014</td><td>1175</td> </tr>
- <tr><td>Czech Republic</td><td>8925</td><td>10369</td><td>10510</td><td>10573</td><td>10294</td> </tr>
- <tr><td>Dem. People's Rep. of Korea</td><td>9737</td><td>23906</td><td>24399</td><td>25128</td><td>24562</td> </tr>
- <tr><td>Dem. Republic of the Congo</td><td>12184</td><td>66020</td><td>77419</td><td>98123</td><td>147512</td> </tr>
- <tr><td>Denmark</td><td>4271</td><td>5470</td><td>5523</td><td>5590</td><td>5551</td> </tr>
- <tr><td>Djibouti</td><td>62</td><td>864</td><td>953</td><td>1111</td><td>1469</td> </tr>
- <tr><td>Dominica</td><td>51</td><td>67</td><td>67</td><td>68</td><td>66</td> </tr>
- <tr><td>Dominican Republic</td><td>2427</td><td>10090</td><td>10867</td><td>11973</td><td>13441</td> </tr>
- <tr><td>Ecuador</td><td>3387</td><td>13625</td><td>14596</td><td>16074</td><td>17989</td> </tr>
- <tr><td>Egypt</td><td>21514</td><td>82999</td><td>91778</td><td>104970</td><td>129533</td> </tr>
- <tr><td>El Salvador</td><td>2200</td><td>6163</td><td>6383</td><td>6895</td><td>7882</td> </tr>
- <tr><td>Equatorial Guinea</td><td>226</td><td>676</td><td>781</td><td>971</td><td>1445</td> </tr>
- <tr><td>Eritrea</td><td>1141</td><td>5073</td><td>6009</td><td>7404</td><td>10787</td> </tr>
- <tr><td>Estonia</td><td>1101</td><td>1340</td><td>1337</td><td>1321</td><td>1233</td> </tr>
- <tr><td>Ethiopia</td><td>18434</td><td>82825</td><td>96237</td><td>119822</td><td>173811</td> </tr>
- <tr><td>Faeroe Islands</td><td>32</td><td>50</td><td>52</td><td>55</td><td>58</td> </tr>
- <tr><td>Falkland Islands (Malvinas)</td>  <td>2</td><td>3</td><td>3</td><td>3</td><td>3</td> </tr>
- <tr><td>Fiji</td><td>289</td><td>849</td><td>874</td><td>905</td><td>910</td> </tr>
- <tr><td>Finland</td><td>4009</td><td>5326</td><td>5432</td><td>5533</td><td>5445</td> </tr>
- <tr><td>France</td><td>41832</td><td>62343</td><td>63900</td><td>65769</td><td>67668</td> </tr>
- <tr><td>French Guiana</td><td>25</td><td>226</td><td>261</td><td>323</td><td>462</td> </tr>
- <tr><td>French Polynesia</td><td>61</td><td>269</td><td>289</td><td>318</td><td>354</td> </tr>
- <tr><td>Gabon</td><td>469</td><td>1475</td><td>1639</td><td>1915</td><td>2471</td> </tr>
- <tr><td>Gambia</td><td>258</td><td>1705</td><td>1985</td><td>2478</td><td>3763</td> </tr>
- <tr><td>Georgia</td><td>3527</td><td>4260</td><td>4084</td><td>3888</td><td>3267</td> </tr>
- <tr><td>Germany</td><td>68376</td><td>82167</td><td>81346</td><td>79258</td><td>70504</td> </tr>
- <tr><td>Ghana</td><td>4981</td><td>23837</td><td>26925</td><td>32233</td><td>45213</td> </tr>
- <tr><td>Gibraltar</td><td>20</td><td>31</td><td>31</td><td>32</td><td>30</td> </tr>
- <tr><td>Greece</td><td>7566</td><td>11161</td><td>11261</td><td>11274</td><td>10939</td> </tr>
- <tr><td>Greenland</td><td>23</td><td>57</td><td>57</td><td>56</td><td>50</td> </tr>
- <tr><td>Grenada</td><td>77</td><td>104</td><td>107</td><td>109</td><td>97</td> </tr>
- <tr><td>Guadeloupe</td><td>210</td><td>465</td><td>476</td><td>489</td><td>477</td> </tr>
- <tr><td>Guam</td><td>60</td><td>178</td><td>191</td><td>211</td><td>242</td> </tr>
- <tr><td>Guatemala</td><td>3146</td><td>14027</td><td>16227</td><td>19927</td><td>27480</td> </tr>
- <tr><td>Guinea</td><td>2619</td><td>10069</td><td>11844</td><td>15158</td><td>23975</td> </tr>
- <tr><td>Guinea-Bissau</td><td>518</td><td>1611</td><td>1848</td><td>2296</td><td>3555</td> </tr>
- <tr><td>Guyana</td><td>423</td><td>762</td><td>754</td><td>732</td><td>558</td> </tr>
- <tr><td>Haiti</td><td>3221</td><td>10033</td><td>10957</td><td>12476</td><td>15485</td> </tr>
- <tr><td>Holy See</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
- <tr><td>Honduras</td><td>1487</td><td>7466</td><td>8386</td><td>9844</td><td>12402</td> </tr>
- <tr><td>Hungary</td><td>9338</td><td>9993</td><td>9874</td><td>9647</td><td>8934</td> </tr>
- <tr><td>Iceland</td><td>143</td><td>323</td><td>353</td><td>384</td><td>407</td> </tr>
- <tr><td>India</td><td>371857</td><td>1198003</td><td>1294192</td><td>1431272</td><td>1613800</td> </tr>
- <tr><td>Indonesia</td><td>77152</td><td>229965</td><td>244191</td><td>263287</td><td>288110</td> </tr>
- <tr><td>Iran (Islamic Republic of)</td>  <td>16913</td><td>74196</td><td>79454</td><td>87134</td><td>96975</td> </tr>
- <tr><td>Iraq</td><td>5719</td><td>30747</td><td>35884</td><td>44692</td><td>63995</td> </tr>
- <tr><td>Ireland</td><td>2969</td><td>4515</td><td>4886</td><td>5370</td><td>6295</td> </tr>
- <tr><td>Isle of Man</td><td>55</td><td>80</td><td>81</td><td>80</td><td>75</td> </tr>
- <tr><td>Israel</td><td>1258</td><td>7170</td><td>7823</td><td>8769</td><td>10649</td> </tr>
- <tr><td>Italy</td><td>46367</td><td>59870</td><td>60604</td><td>60018</td><td>57066</td> </tr>
- <tr><td>Jamaica</td><td>1403</td><td>2719</td><td>2786</td><td>2866</td><td>2683</td> </tr>
- <tr><td>Japan</td><td>82824</td><td>127156</td><td>125791</td><td>120793</td><td>101659</td> </tr>
- <tr><td>Jordan</td><td>472</td><td>6316</td><td>6957</td><td>8088</td><td>10241</td> </tr>
- <tr><td>Kazakhstan</td><td>6703</td><td>15637</td><td>16289</td><td>17025</td><td>17848</td> </tr>
- <tr><td>Kenya</td><td>6077</td><td>39802</td><td>46433</td><td>57573</td><td>85410</td> </tr>
- <tr><td>Kiribati</td><td>26</td><td>98</td><td>107</td><td>123</td><td>151</td> </tr>
- <tr><td>Kuwait</td><td>152</td><td>2985</td><td>3378</td><td>3988</td><td>5240</td> </tr>
- <tr><td>Kyrgyzstan</td><td>1740</td><td>5482</td><td>5877</td><td>6378</td><td>6882</td> </tr>
- <tr><td>Lao People's Dem. Republic</td><td>1666</td><td>6320</td><td>7028</td><td>8273</td><td>10744</td> </tr>
- <tr><td>Latvia</td><td>1949</td><td>2249</td><td>2197</td><td>2101</td><td>1854</td> </tr>
- <tr><td>Lebanon</td><td>1443</td><td>4224</td><td>4426</td><td>4736</td><td>5033</td> </tr>
- <tr><td>Lesotho</td><td>734</td><td>2067</td><td>2168</td><td>2306</td><td>2491</td> </tr>
- <tr><td>Liberia</td><td>824</td><td>3955</td><td>4665</td><td>5858</td><td>8841</td> </tr>
- <tr><td>Libyan Arab Jamahiriya</td><td>1029</td><td>6420</td><td>7158</td><td>8144</td><td>9819</td> </tr>
- <tr><td>Liechtenstein</td><td>14</td><td>36</td><td>38</td><td>40</td><td>45</td> </tr>
- <tr><td>Lithuania</td><td>2567</td><td>3287</td><td>3143</td><td>2985</td><td>2579</td> </tr>
- <tr><td>Luxembourg</td><td>296</td><td>486</td><td>520</td><td>582</td><td>733</td> </tr>
- <tr><td>Madagascar</td><td>4084</td><td>19625</td><td>22853</td><td>28595</td><td>42693</td> </tr>
- <tr><td>Malawi</td><td>2881</td><td>15263</td><td>17998</td><td>23194</td><td>36575</td> </tr>
- <tr><td>Malaysia</td><td>6110</td><td>27468</td><td>30041</td><td>33770</td><td>39664</td> </tr>
- <tr><td>Maldives</td><td>82</td><td>309</td><td>338</td><td>384</td><td>455</td> </tr>
- <tr><td>Mali</td><td>4268</td><td>13010</td><td>14993</td><td>18603</td><td>28260</td> </tr>
- <tr><td>Malta</td><td>312</td><td>409</td><td>417</td><td>426</td><td>413</td> </tr>
- <tr><td>Marshall Islands</td><td>13</td><td>62</td><td>70</td><td>79</td><td>92</td> </tr>
- <tr><td>Martinique</td><td>222</td><td>405</td><td>411</td><td>418</td><td>393</td> </tr>
- <tr><td>Mauritania</td><td>651</td><td>3291</td><td>3732</td><td>4443</td><td>6061</td> </tr>
- <tr><td>Mauritius</td><td>493</td><td>1288</td><td>1337</td><td>1400</td><td>1426</td> </tr>
- <tr><td>Mayotte</td><td>15</td><td>194</td><td>224</td><td>277</td><td>386</td> </tr>
- <tr><td>Mexico</td><td>27741</td><td>109610</td><td>115528</td><td>123366</td><td>128964</td> </tr>
- <tr><td>Micronesia (Fed. States of)</td>  <td>32</td><td>111</td><td>114</td><td>122</td><td>128</td> </tr>
- <tr><td>Moldova (Republic of)</td>  <td>2341</td><td>3604</td><td>3462</td><td>3291</td><td>2734</td> </tr>
- <tr><td>Monaco</td><td>20</td><td>33</td><td>33</td><td>35</td><td>38</td> </tr>
- <tr><td>Mongolia</td><td>761</td><td>2671</td><td>2855</td><td>3134</td><td>3446</td> </tr>
- <tr><td>Montenegro</td><td>399</td><td>624</td><td>627</td><td>633</td><td>618</td> </tr>
- <tr><td>Montserrat</td><td>14</td><td>6</td><td>6</td><td>7</td><td>7</td> </tr>
- <tr><td>Morocco</td><td>8953</td><td>31993</td><td>34330</td><td>37865</td><td>42583</td> </tr>
- <tr><td>Mozambique</td><td>6442</td><td>22894</td><td>25957</td><td>31190</td><td>44148</td> </tr>
- <tr><td>Myanmar</td><td>17158</td><td>50020</td><td>53087</td><td>57585</td><td>63373</td> </tr>
- <tr><td>Namibia</td><td>485</td><td>2171</td><td>2412</td><td>2810</td><td>3588</td> </tr>
- <tr><td>Nauru</td><td>3</td><td>10</td><td>11</td><td>11</td><td>11</td> </tr>
- <tr><td>Nepal</td><td>8126</td><td>29331</td><td>32503</td><td>38031</td><td>49028</td> </tr>
- <tr><td>Netherlands</td><td>10114</td><td>16592</td><td>16915</td><td>17348</td><td>17399</td> </tr>
- <tr><td>Netherlands Antilles</td><td>112</td><td>198</td><td>207</td><td>210</td><td>192</td> </tr>
- <tr><td>New Caledonia</td><td>65</td><td>250</td><td>271</td><td>304</td><td>362</td> </tr>
- <tr><td>New Zealand</td><td>1908</td><td>4266</td><td>4492</td><td>4831</td><td>5349</td> </tr>
- <tr><td>Nicaragua</td><td>1295</td><td>5743</td><td>6265</td><td>7058</td><td>8143</td> </tr>
- <tr><td>Niger</td><td>2462</td><td>15290</td><td>19150</td><td>27388</td><td>58216</td> </tr>
- <tr><td>Nigeria</td><td>36680</td><td>154729</td><td>175928</td><td>210057</td><td>289083</td> </tr>
- <tr><td>Niue</td><td>5</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
- <tr><td>Northern Mariana Islands</td><td>7</td><td>87</td><td>96</td><td>111</td><td>151</td> </tr>
- <tr><td>Norway</td><td>3265</td><td>4812</td><td>5036</td><td>5365</td><td>5947</td> </tr>
- <tr><td>Occupied Palestinian Territory</td><td>1005</td><td>4277</td><td>5090</td><td>6553</td><td>10265</td> </tr>
- <tr><td>Oman</td><td>456</td><td>2845</td><td>3198</td><td>3782</td><td>4878</td> </tr>
- <tr><td>Pakistan</td><td>41177</td><td>180808</td><td>205504</td><td>246286</td><td>335195</td> </tr>
- <tr><td>Palau</td><td>7</td><td>20</td><td>21</td><td>23</td><td>26</td> </tr>
- <tr><td>Panama</td><td>860</td><td>3454</td><td>3773</td><td>4267</td><td>5092</td> </tr>
- <tr><td>Papua New Guinea</td><td>1798</td><td>6732</td><td>7678</td><td>9265</td><td>12871</td> </tr>
- <tr><td>Paraguay</td><td>1473</td><td>6349</td><td>7007</td><td>8026</td><td>9867</td> </tr>
- <tr><td>Peru</td><td>7632</td><td>29165</td><td>31197</td><td>34528</td><td>39776</td> </tr>
- <tr><td>Philippines</td><td>19996</td><td>91983</td><td>101734</td><td>117270</td><td>146156</td> </tr>
- <tr><td>Pitcairn</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td> </tr>
- <tr><td>Poland</td><td>24824</td><td>38074</td><td>37788</td><td>36964</td><td>32013</td> </tr>
- <tr><td>Portugal</td><td>8405</td><td>10707</td><td>10787</td><td>10706</td><td>10015</td> </tr>
- <tr><td>Puerto Rico</td><td>2218</td><td>3982</td><td>4074</td><td>4176</td><td>4103</td> </tr>
- <tr><td>Qatar</td><td>25</td><td>1409</td><td>1630</td><td>1848</td><td>2316</td> </tr>
- <tr><td>Republic of Korea</td><td>19211</td><td>48333</td><td>49153</td><td>49484</td><td>44077</td> </tr>
- <tr><td>R궮ion</td><td>248</td><td>827</td><td>886</td><td>973</td><td>1096</td> </tr>
- <tr><td>Romania</td><td>16311</td><td>21275</td><td>20787</td><td>19961</td><td>17279</td> </tr>
- <tr><td>Russian Federation</td><td>102702</td><td>140874</td><td>137983</td><td>132345</td><td>116097</td> </tr>
- <tr><td>Rwanda</td><td>2162</td><td>9998</td><td>11743</td><td>14676</td><td>22082</td> </tr>
- <tr><td>Saint Helena</td><td>5</td><td>4</td><td>4</td><td>5</td><td>5</td> </tr>
- <tr><td>Saint Kitts and Nevis</td><td>46</td><td>52</td><td>56</td><td>61</td><td>69</td> </tr>
- <tr><td>Saint Lucia</td><td>83</td><td>172</td><td>182</td><td>198</td><td>217</td> </tr>
- <tr><td>Saint Pierre and Miquelon</td><td>5</td><td>6</td><td>6</td><td>6</td><td>6</td> </tr>
- <tr><td>St. Vincent and the Grenadines</td><td>67</td><td>109</td><td>110</td><td>111</td><td>119</td> </tr>
- <tr><td>Samoa</td><td>82</td><td>179</td><td>181</td><td>188</td><td>192</td> </tr>
- <tr><td>San Marino</td><td>13</td><td>31</td><td>32</td><td>33</td><td>33</td> </tr>
- <tr><td>Sao Tome and Principe</td><td>60</td><td>163</td><td>180</td><td>216</td><td>296</td> </tr>
- <tr><td>Saudi Arabia</td><td>3201</td><td>25721</td><td>28933</td><td>34176</td><td>43658</td> </tr>
- <tr><td>Senegal</td><td>2416</td><td>12534</td><td>14526</td><td>17861</td><td>26102</td> </tr>
- <tr><td>Serbia</td><td>6732</td><td>9850</td><td>9828</td><td>9720</td><td>9193</td> </tr>
- <tr><td>Seychelles</td><td>36</td><td>84</td><td>86</td><td>91</td><td>97</td> </tr>
- <tr><td>Sierra Leone</td><td>1944</td><td>5696</td><td>6557</td><td>8112</td><td>12446</td> </tr>
- <tr><td>Singapore</td><td>1022</td><td>4737</td><td>5059</td><td>5362</td><td>5221</td> </tr>
- <tr><td>Slovakia</td><td>3463</td><td>5406</td><td>5437</td><td>5413</td><td>4917</td> </tr>
- <tr><td>Slovenia</td><td>1473</td><td>2020</td><td>2044</td><td>2050</td><td>1954</td> </tr>
- <tr><td>Solomon Islands</td><td>90</td><td>523</td><td>599</td><td>725</td><td>1007</td> </tr>
- <tr><td>Somalia</td><td>2264</td><td>9133</td><td>10731</td><td>13922</td><td>23522</td> </tr>
- <tr><td>South Africa</td><td>13683</td><td>50110</td><td>51684</td><td>53766</td><td>56802</td> </tr>
- <tr><td>Spain</td><td>28009</td><td>44904</td><td>47203</td><td>49265</td><td>51260</td> </tr>
- <tr><td>Sri Lanka</td><td>8241</td><td>20238</td><td>21167</td><td>22033</td><td>21705</td> </tr>
- <tr><td>Sudan</td><td>9190</td><td>42272</td><td>47730</td><td>56688</td><td>75884</td> </tr>
- <tr><td>Suriname</td><td>215</td><td>520</td><td>547</td><td>586</td><td>619</td> </tr>
- <tr><td>Swaziland</td><td>273</td><td>1185</td><td>1287</td><td>1455</td><td>1749</td> </tr>
- <tr><td>Sweden</td><td>7014</td><td>9249</td><td>9498</td><td>9915</td><td>10571</td> </tr>
- <tr><td>Switzerland</td><td>4693</td><td>7568</td><td>7736</td><td>8020</td><td>8514</td> </tr>
- <tr><td>Syrian Arab Republic</td><td>3536</td><td>21906</td><td>24494</td><td>28592</td><td>36911</td> </tr>
- <tr><td>Tajikistan</td><td>1532</td><td>6952</td><td>7761</td><td>9075</td><td>11111</td> </tr>
- <tr><td>TFYR Macedonia</td><td>1230</td><td>2042</td><td>2045</td><td>2037</td><td>1857</td> </tr>
- <tr><td>Thailand</td><td>20607</td><td>67764</td><td>69939</td><td>72628</td><td>73361</td> </tr>
- <tr><td>Timor-Leste</td><td>433</td><td>1134</td><td>1385</td><td>1869</td><td>3217</td> </tr>
- <tr><td>Togo</td><td>1329</td><td>6619</td><td>7607</td><td>9282</td><td>13196</td> </tr>
- <tr><td>Tokelau</td><td>2</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr>
- <tr><td>Tonga</td><td>47</td><td>104</td><td>105</td><td>112</td><td>123</td> </tr>
- <tr><td>Trinidad and Tobago</td><td>636</td><td>1339</td><td>1368</td><td>1388</td><td>1278</td> </tr>
- <tr><td>Tunisia</td><td>3530</td><td>10272</td><td>10884</td><td>11797</td><td>12711</td> </tr>
- <tr><td>Turkey</td><td>21484</td><td>74816</td><td>79966</td><td>87364</td><td>97389</td> </tr>
- <tr><td>Turkmenistan</td><td>1211</td><td>5110</td><td>5509</td><td>6072</td><td>6796</td> </tr>
- <tr><td>Turks and Caicos Islands</td><td>5</td><td>33</td><td>35</td><td>38</td><td>40</td> </tr>
- <tr><td>Tuvalu</td><td>5</td><td>10</td><td>10</td><td>11</td><td>11</td> </tr>
- <tr><td>Uganda</td><td>5158</td><td>32710</td><td>39710</td><td>53406</td><td>91271</td> </tr>
- <tr><td>Ukraine</td><td>37298</td><td>45708</td><td>44165</td><td>41617</td><td>35026</td> </tr>
- <tr><td>United Arab Emirates</td><td>70</td><td>4599</td><td>5193</td><td>6109</td><td>8253</td> </tr>
- <tr><td>United Kingdom</td><td>50616</td><td>61565</td><td>63528</td><td>66601</td><td>72365</td> </tr>
- <tr><td>United Republic of Tanzania</td><td>7650</td><td>43739</td><td>52109</td><td>67394</td><td>109450</td> </tr>
- <tr><td>United States of America</td><td>157813</td><td>314659</td><td>332334</td><td>358735</td><td>403932</td> </tr>
- <tr><td>United States Virgin Islands</td><td>27</td><td>110</td><td>108</td><td>103</td><td>75</td> </tr>
- <tr><td>Uruguay</td><td>2239</td><td>3361</td><td>3430</td><td>3546</td><td>3637</td> </tr>
- <tr><td>Uzbekistan</td><td>6314</td><td>27488</td><td>29456</td><td>32715</td><td>36439</td> </tr>
- <tr><td>Vanuatu</td><td>48</td><td>240</td><td>276</td><td>338</td><td>482</td> </tr>
- <tr><td>Venezuela (Bolivarian Republic of)</td>  <td>5094</td><td>28583</td><td>31292</td><td>35370</td><td>42042</td> </tr>
- <tr><td>Viet Nam</td><td>27367</td><td>88069</td><td>93647</td><td>102054</td><td>111666</td> </tr>
- <tr><td>Wallis and Futuna Islands</td><td>7</td><td>15</td><td>16</td><td>17</td><td>17</td> </tr>
- <tr><td>Western Sahara</td><td>14</td><td>513</td><td>625</td><td>775</td><td>938</td> </tr>
- <tr><td>Yemen</td><td>4316</td><td>23580</td><td>27819</td><td>35509</td><td>53689</td> </tr>
- <tr><td>Zambia</td><td>2340</td><td>12935</td><td>14980</td><td>18890</td><td>28957</td> </tr>
- <tr><td>Zimbabwe</td><td>2747</td><td>12523</td><td>14029</td><td>16780</td><td>22178</td> </tr>
-</table>
-
 <p style='font-size:smaller;'>Data source: <a href="http://www.un.org/esa/population/unpop.htm">Population Division of the
 Department of Economic and Social Affairs of the United Nations Secretariat</a> (2009).
 <em>World Population Prospects: The 2008 Revision. Highlights.</em> New York: United Nations.  </p>
@@ -358,7 +124,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--
 <br>I took the one less traveled by,
 <br>And that has made all the difference.
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>
      </div>
   </div>
 
@@ -404,7 +170,7 @@ Department of Economic and Social Affairs of the United Nations Secretariat</a>
 <br>Two roads diverged in a wood, and I--
 <br>I took the one less traveled by,
 <br>And that has made all the difference.
-<p style='font-size:9pt;'><strong>Robert Frost: The Road Not Taken (1915)</strong>
+<p><strong>Robert Frost: The Road Not Taken (1915)</strong>
      </div>
   </div>
 
index 96cf20b..49956df 100644 (file)
@@ -12,19 +12,14 @@ Rico.onLoad( function() {
     frozenColumns: 1,\r
     highlightElem: 'cursorRow',\r
     menuEvent: 'click',\r
-    visibleRows: 'body'\r
+    visibleRows: 'body',\r
+    defaultWidth: 120\r
   };\r
-  var buffer=new Rico.Buffer.Base(Rico.$('ex1').tBodies[0]);\r
-  var ex1=new Rico.LiveGrid ('ex1', buffer, opts);\r
-  ex1.menu=new Rico.GridMenu();\r
+  var buffer=new Rico.Buffer.Base(Rico.$('derby').tBodies[0]);\r
+  var derby=new Rico.LiveGrid ('derby', buffer, opts);\r
+  derby.menu=new Rico.GridMenu();\r
 });\r
 </script>\r
-<style type="text/css">\r
-p.footnote {\r
-  font-size: 8pt;\r
-}\r
-</style>\r
-\r
 </head>\r
 \r
 <body>\r
@@ -36,29 +31,22 @@ document.write(Rico.Lib+' '+Rico.LibVersion);
 <hr>\r
 This example demonstrates how to populate a grid from an HTML table.\r
 In this case, the table whose data is to be loaded into the grid\r
-has an id="ex1", and the table's body element is passed\r
+has an id="derby", and the table's body element is passed\r
 to the buffer constructor which then loads the data.\r
 <pre>\r
-Rico.loadModule('LiveGrid','LiveGridMenu','greenHdg.css');\r
-\r
 Rico.onLoad( function() {\r
-  var opts = {\r
-    frozenColumns: 1,\r
-    highlightElem: 'cursorRow',\r
-    menuEvent: 'click',\r
-    visibleRows: 'body'\r
-  };\r
-  var buffer=new Rico.Buffer.Base(Rico.$('ex1').tBodies[0]);\r
-  var ex1=new Rico.LiveGrid ('ex1', buffer, opts);\r
-  ex1.menu=new Rico.GridMenu();\r
+  var opts = { frozenColumns: 1, highlightElem: 'cursorRow', menuEvent: 'click', visibleRows: 'body', defaultWidth: 120 };\r
+  var buffer=new Rico.Buffer.Base(Rico.$('derby').tBodies[0]);\r
+  var derby=new Rico.LiveGrid ('derby', buffer, opts);\r
+  derby.menu=new Rico.GridMenu();\r
 });\r
 </pre>\r
 </div>\r
 \r
 <p><strong>The Kentucky Derby</strong></p>\r
-<p class="ricoBookmark"><span id="ex1_bookmark">&nbsp;</span></p>\r
+<p class="ricoBookmark"><span id="derby_bookmark">&nbsp;</span></p>\r
 \r
-<table id="ex1" class="ricoLiveGrid" cellspacing="0" cellpadding="0">\r
+<table id="derby" class="ricoLiveGrid" cellspacing="0" cellpadding="0">\r
 <thead>\r
 <tr> <td>Year</td> <td>Horse</td> <td>Jockey</td> </tr> \r
 </thead>\r
@@ -201,8 +189,8 @@ Rico.onLoad( function() {
 </tbody> \r
 </table>   \r
 \r
-<p class='footnote'>*Dancer&rsquo;s Image disqualified but later reinstated.\r
-<br> **Fastest time&mdash;1 min 59 2/5 s. No other horse has raced the Derby in less than 2 min.</td\r
+<p style='font-size: x-small;'>*Dancer&rsquo;s Image disqualified but later reinstated.\r
+<br> **Fastest time&mdash;1 min 59 2/5 s. No other horse has raced the Derby in less than 2 min.</p\r
 \r
 </body>\r
 </html>\r
index 73ecc75..5116aca 100644 (file)
@@ -366,10 +366,14 @@ Rico.positionCtlOverIcon=function(ctl,icon) {
   var scrTop=this.docScrollTop();
   var winHt=this.windowHeight();
   if (ctl.style.display=='none') ctl.style.display='block';
-  //var correction=this.isIE ? 1 : 2;  // based on a 1px border
   var correction=2;  // based on a 1px border
-  var lpad=this.nan2zero(this.getStyle(icon,'paddingLeft'));
-  ctl.style.left = (offsets.left+lpad+correction)+'px';
+  if (Rico.direction(icon) == 'rtl') {
+    //var margin=this.nan2zero(this.getStyle(icon,'marginRight'));
+    ctl.style.left = (offsets.left + icon.offsetWidth - ctl.offsetWidth)+'px';
+  } else {
+    var margin=this.nan2zero(this.getStyle(icon,'marginLeft'));
+    ctl.style.left = (offsets.left+margin+correction)+'px';
+  }
   var newTop=offsets.top + correction;// + scrTop;
   var ctlht=ctl.offsetHeight;
   var iconht=icon.offsetHeight;
index 5d7e589..b801bca 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -56,10 +56,11 @@ Rico.CalendarControl.prototype = {
      */
     this.close=this.closePopup;
     this.bPageLoaded=false;
-    this.img=[];
     this.Holidays={};
     this.re=/^\s*(\w+)(\W)(\w+)(\W)(\w+)/i;
     this.setDateFmt(this.options.dateFmt);
+    var self=this;
+    Rico.onLoad(function() { self.atLoad(); })
   },
 
 
@@ -104,7 +105,7 @@ Rico.CalendarControl.prototype = {
     Rico.addClass(this.content, Rico.theme.calendar || 'ricoCalContainer');
     this.direction=Rico.direction(this.container);
 
-    var r,c,i,j,img,dow,a,s,tab;
+    var r,c,i,j,dow,a,s,tab;
     this.colStart=this.options.showWeekNumber ? 1 : 0;
     var colcnt=7+this.colStart
     this.maintab=document.createElement("table");
@@ -113,12 +114,29 @@ Rico.CalendarControl.prototype = {
     this.maintab.border=0;
     this.maintab.style.borderCollapse='separate';
     this.maintab.className=Rico.theme.calendarTable || 'ricoCalTab';
-    this.tbody=Rico.getTBody(this.maintab);
-    this.tbody.className='ricoCalBody';
+
+    // thead (Navigation controls)
     this.thead=this.maintab.createTHead();
     r=this.thead.insertRow(-1);
     this.heading=r.insertCell(-1);
     this.heading.colSpan=colcnt;
+    //this.heading=this.content.appendChild(document.createElement("div"));
+    this.heading.className='RicoCalHeading';
+    if (Rico.theme.calendarHeading) Rico.addClass(this.heading,Rico.theme.calendarHeading)
+
+    // table footer (today)
+    if (this.options.showToday) {
+      this.tfoot=this.maintab.createTFoot();
+      this.tfoot.className='ricoCalFoot';
+      r=this.tfoot.insertRow(-1);
+      this.todayCell=r.insertCell(-1);
+      this.todayCell.colSpan=colcnt;
+      this.todayCell.className=Rico.theme.calendarFooter || 'ricoCalFoot';
+      Rico.eventBind(this.todayCell,"click", Rico.eventHandle(this,'selectNow'), false);
+    }
+
+    this.tbody=Rico.getTBody(this.maintab);
+    this.tbody.className='ricoCalBody';
 
     this.content.style.display='block';
     if (this.position == 'absolute') {
@@ -132,18 +150,6 @@ Rico.CalendarControl.prototype = {
       this.maintab.style.width='100%';
     }
 
-    // Navigation controls
-    //this.heading=this.content.appendChild(document.createElement("div"));
-    this.heading.className='RicoCalHeading';
-    if (Rico.theme.calendarHeading) Rico.addClass(this.heading,Rico.theme.calendarHeading)
-    this.navtab=this.heading.appendChild(document.createElement("table"));
-    this.navrow=this.navtab.insertRow(-1);
-    this._createTitleSection('Month');
-    this.navrow.insertCell(-1).innerHTML="&nbsp;&nbsp;";
-    this._createTitleSection('Year');
-    new Rico.HoverSet(this.heading.getElementsByTagName('a'));
-    if (this.position == 'absolute') this.heading.appendChild(Rico.closeButton(Rico.eventHandle(this,'close')));
-
     this.styles=[];
     for (i=0; i<7; i++) {
       r=this.tbody.insertRow(-1);
@@ -166,18 +172,16 @@ Rico.CalendarControl.prototype = {
       }
     }
     
-    // table footer (today)
-    if (this.options.showToday) {
-      this.tfoot=this.maintab.createTFoot();
-      this.tfoot.className='ricoCalFoot';
-      r=this.tfoot.insertRow(-1);
-      this.todayCell=r.insertCell(-1);
-      this.todayCell.colSpan=colcnt;
-      this.todayCell.className=Rico.theme.calendarFooter || 'ricoCalFoot';
-      Rico.eventBind(this.todayCell,"click", Rico.eventHandle(this,'selectNow'), false);
-    }
     this.content.appendChild(this.maintab);
     new Rico.HoverSet(this.tbody.getElementsByTagName('td'),{ hoverNodes: function(e) { return e.innerHTML.match(/^\d+$/) ? [e] : []; } });
+
+    this.navtab=this.heading.appendChild(document.createElement("table"));
+    this.navrow=this.navtab.insertRow(-1);
+    this._createTitleSection('Month');
+    this.navrow.insertCell(-1).innerHTML="&nbsp;&nbsp;";
+    this._createTitleSection('Year');
+    new Rico.HoverSet(this.heading.getElementsByTagName('a'));
+    if (this.position == 'absolute') this.heading.appendChild(Rico.closeButton(Rico.eventHandle(this,'close')));
     
     // month selector
     this.monthPopup=new Rico.Popup(document.createElement("div"),{shim:false,zIndex:10});
@@ -234,7 +238,7 @@ Rico.CalendarControl.prototype = {
     }
     
     Rico.eventBind(this.tbody,"click", Rico.eventHandle(this,'saveAndClose'));
-    this.close();
+    //this.close();
     this.bPageLoaded=true;
   },
 
@@ -244,7 +248,8 @@ Rico.CalendarControl.prototype = {
     var c=this.navrow.insertCell(-1);
     var a=c.appendChild(document.createElement("a"));
     a.className='Rico_'+arrows[0]+'Arrow';
-    a.appendChild(this.createNavArrow('dec'+section,arrows[0]));
+    a.appendChild(this._createNavArrow(arrows[0]));
+    Rico.eventBind(a,"click", Rico.eventHandle(this,'dec'+section), false);
 
     c=this.navrow.insertCell(-1);
     a=c.appendChild(document.createElement("a"));
@@ -254,9 +259,17 @@ Rico.CalendarControl.prototype = {
     c=this.navrow.insertCell(-1);
     a=c.appendChild(document.createElement("a"));
     a.className='Rico_'+arrows[1]+'Arrow';
-    a.appendChild(this.createNavArrow('inc'+section,arrows[1]));
+    a.appendChild(this._createNavArrow(arrows[1]));
+    Rico.eventBind(a,"click", Rico.eventHandle(this,'inc'+section), false);
   },
   
+  _createNavArrow: function(direction) {
+    var span=document.createElement("span");
+    span.className=Rico.theme[direction+'Arrow'] || 'rico-icon Rico_'+direction+'Arrow';
+    span.style.display="inline-block";
+    return span;
+  },
+
   selectNow : function() {
     var today = new Date();
     this.dateNow  = today.getDate();
@@ -267,15 +280,6 @@ Rico.CalendarControl.prototype = {
     this.constructCalendar();
   },
   
-/** @private */
-  createNavArrow: function(funcname,direction) {
-    var span=document.createElement("span");
-    span.className=Rico.theme[direction+'Arrow'] || 'rico-icon Rico_'+direction+'Arrow';
-    span.style.display="inline-block";
-    Rico.eventBind(span,"click", Rico.eventHandle(this,funcname), false);
-    return span;
-  },
-
 /**
  * @returns true if yr/mo is within minDate/MaxDate
  */
index 36c2a3e..886a4e0 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -52,6 +52,8 @@ Rico.ColorPicker.prototype = {
       }
     }
     Rico.extend(this.options, options || {});
+    var self=this;
+    Rico.onLoad(function() { self.atLoad(); })
   },
 
   atLoad : function() {
index d550aaf..9b08735 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -34,8 +34,8 @@ Rico.Buffer.Base.prototype = {
     this.clear();
     this.updateInProgress = false;
     this.lastOffset = 0;
-    this.rcvdRowCount = false;  // true if an eof element was included in the last xml response
-    this.foundRowCount = false; // true if an xml response is ever received with eof true
+    this.rcvdRowCount = false;  // true if an eof element was included in the last response
+    this.foundRowCount = false; // true if a response is ever received with eof true
     this.totalRows = 0;
     this.rowcntContent = "";
     this.rcvdOffset = -1;
@@ -43,7 +43,8 @@ Rico.Buffer.Base.prototype = {
       fixedHdrRows     : 0,
       canFilter        : true,  // does buffer object support filtering?
       isEncoded        : true,  // is the data received via ajax html encoded?
-      acceptStyle      : false  // copy style from original/ajax data?
+      acceptStyle      : false, // copy style from original/ajax data?
+      canRefresh       : false  // should "refresh" be shown on filter menu?
     };
     Rico.extend(this.options, options || {});
     if (dataTable) {
@@ -874,7 +875,7 @@ Rico.LiveGridMethods = {
         var buttonDiv = col.mFilter.appendChild(document.createElement("div"));
         buttonDiv.className = 'ricoLG_mFilter_button'
         col.mFilterButton=buttonDiv.appendChild(document.createElement("button"));
-        col.mFilterButton.innerHTML=Rico.getPhraseById("ok");
+        col.mFilterButton.innerHTML=Rico.getPhraseById("apply");
         var eventName=Rico.isWebKit ? 'mousedown' : 'click';
         Rico.eventBind(col.filterField,eventName,Rico.eventHandle(col,'mFilterSelectClick'));
         Rico.eventBind(col.mFilterButton,'click',Rico.eventHandle(col,'mFilterFinish'));
index 14d345c..f2273b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -17,11 +17,11 @@ if(typeof Rico=='undefined') throw("LiveGridAjax requires the Rico JavaScript fr
 
 if (!Rico.Buffer) Rico.Buffer = {};
 
-Rico.Buffer.AjaxXML = function(url,options,ajaxOptions) {
+Rico.Buffer.AjaxLoadOnce = function(url,options,ajaxOptions) {
   this.initialize(url,options,ajaxOptions);
 }
 
-Rico.Buffer.AjaxXML.prototype = {
+Rico.Buffer.AjaxLoadOnce.prototype = {
 /**
  * @class Implements buffer for LiveGrid. Loads data from server via a single AJAX call.
  * @extends Rico.Buffer.Base
@@ -49,7 +49,7 @@ Rico.Buffer.AjaxXML.prototype = {
 
 Rico.Buffer.AjaxXMLMethods = {
 
-/** @lends Rico.Buffer.AjaxXML# */
+/** @lends Rico.Buffer.AjaxLoadOnce# */
   fetch: function(offset) {
     if (this.fetchData) {
       this.foundRowCount=true;
@@ -115,7 +115,7 @@ Rico.Buffer.AjaxXMLMethods = {
     delete this.timeoutHandler;
   },
 
-  // used by both XML and SQL buffers
+  // used by both LoadOnce and SQL buffers
   jsUpdate: function(startPos, newRows, newStyle, totalRows, errMsg) {
     this.clearTimer();
     this.processingRequest=false;
@@ -146,7 +146,7 @@ Rico.Buffer.AjaxXMLMethods = {
     }
   },
 
-  // used by both XML and SQL buffers
+  // used by both LoadOnce and SQL buffers
   ajaxUpdate: function(startPos,xhr) {
     this.clearTimer();
     this.processingRequest=false;
@@ -170,7 +170,7 @@ Rico.Buffer.AjaxXMLMethods = {
     }
   },
   
-  // used by both XML and SQL buffers
+  // used by both LoadOnce and SQL buffers
   processResponseXML: function(startPos,request) {
     // The response text may contain META DATA for debugging if client side debugging is enabled in VS\r
     var xmlDoc = request.responseXML;\r
@@ -282,7 +282,7 @@ Rico.Buffer.AjaxXMLMethods = {
     return true;
   },
 
-  // specific to XML buffer
+  // specific to LoadOnce buffer
   updateBuffer: function(start, newRows, newStyle) {
     this.baseRows = newRows;
     this.attr = newStyle;
@@ -295,7 +295,7 @@ Rico.Buffer.AjaxXMLMethods = {
     this.startPos = 0;
   },
 
-  // used by both XML and SQL buffers
+  // used by both LoadOnce and SQL buffers
   updateGrid: function(offset) {
     Rico.log("updateGrid, size="+this.size+' rcv cnt type='+typeof(this.rowcntContent));
     var newpos;
@@ -341,16 +341,17 @@ Rico.Buffer.AjaxSQL = function(url,options,ajaxOptions) {
 Rico.Buffer.AjaxSQL.prototype = {
 /**
  * @class Implements buffer for LiveGrid. Loads data from server in chunks as user scrolls through the grid.
- * @extends Rico.Buffer.AjaxXML
+ * @extends Rico.Buffer.AjaxLoadOnce
  * @constructs
  */
   initialize: function(url,options,ajaxOptions) {
-    Rico.extend(this, new Rico.Buffer.AjaxXML());
+    Rico.extend(this, new Rico.Buffer.AjaxLoadOnce());
     Rico.extend(this, Rico.Buffer.AjaxSQLMethods);
     this.dataSource=url;
     this.options.canFilter=true;
     this.options.largeBufferSize  = 7.0;   // 7 pages
     this.options.nearLimitFactor  = 1.0;   // 1 page
+    this.options.canRefresh=true;
     Rico.extend(this.options, options || {});
     Rico.extend(this.ajaxOptions, ajaxOptions || {});
   }
index 2559e96..1721038 100644 (file)
@@ -48,7 +48,6 @@ Rico.TableEdit.prototype = {
     this.addText=Rico.getPhraseById("addRecord",this.options.RecordName);
     this.buttonHover=new Rico.HoverSet();
     this.dateRegExp=/^\s*(\w+)(\W)(\w+)(\W)(\w+)/i;
-    Rico.EditControls.atLoad();
     this.createKeyArray();
     this.createEditDiv();
     this.saveMsg=Rico.$(liveGrid.tableId+'_savemsg');
@@ -89,7 +88,7 @@ Rico.TableEdit.prototype = {
     this.responseDialog.style.display='none';
 
     var buttonOK = document.createElement('button');
-    buttonOK.appendChild(document.createTextNode('OK'));
+    buttonOK.appendChild(document.createTextNode(Rico.getPhraseById("ok")));
     Rico.eventBind(buttonOK,"click", Rico.eventHandle(this,'ackResponse'));
     this.responseDialog.appendChild(buttonOK);
 
@@ -1029,17 +1028,6 @@ Rico.EditControls = {
     this.zIndex=Math.max(this.zIndex,z+10);
   },
 
-  atLoad: function() {
-    for (var id in this.widgetList) {
-      var widget=this.widgetList[id].widget;
-      if (widget.atLoad && !widget.atLoadComplete) {
-        Rico.log("Rico.EditControls.atLoad: "+id);
-        widget.atLoad();
-        widget.atLoadComplete=true;
-      }
-    }
-  },
-
   applyTo: function(column,inputCtl) {
     var wInfo=this.widgetList[column.format.SelectCtl];
     if (!wInfo) return;
index 6366850..ca022fb 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -89,7 +89,7 @@ buildGridMenu: function(r,c) {
     if (livegrid.filterCount() > 0) {
       this.filtermenu.addMenuItemId("gridmenuRemoveAll", function() { livegrid.clearFilters(); }, true);
     }
-    this.filtermenu.addMenuItemId("gridmenuRefresh", function() { livegrid.filterHandler(); }, true);
+    if (buffer.options.canRefresh) this.filtermenu.addMenuItemId("gridmenuRefresh", function() { livegrid.filterHandler(); }, true);
   }
 
   // menu items for Print/Export
index 012bb48..8a1ce27 100644 (file)
@@ -27,7 +27,7 @@ Rico.addPhraseId('filterNot',"not: $1");
 Rico.addPhraseId('requestError',"The request for data returned an error:\n$1");
 Rico.addPhraseId('keywordPrompt',"Enter keyword to search for (use * as a wildcard):");
 Rico.addPhraseId('keywordTitle',"Keyword Search");
-Rico.addPhraseId('ok',"OK");
+Rico.addPhraseId('apply',"Apply");
 
 // used in ricoLiveGridMenu.js
 
@@ -78,6 +78,7 @@ Rico.addPhraseId('hideFilterRow',"Hide filter row");  // img alt text
 
 // used in ricoLiveGridForms.js
 
+Rico.addPhraseId('ok',"OK");
 Rico.addPhraseId('selectNone',"(none)");
 Rico.addPhraseId('selectNewVal',"(new value)");
 Rico.addPhraseId('record',"record");
index 0f9e440..1678b21 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -38,6 +38,8 @@ Rico.KeywordSearch.prototype = {
       maxSuggest : 20,
       width: '12em'
     });
+    var self=this;
+    Rico.onLoad(function() { self.atLoad(); })
   },
 
   atLoad : function() {
index 3ed6b8c..9d2408f 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -67,6 +67,8 @@ Rico.TreeControl.prototype = {
     this.dataSource=url;
     this.close=this.closePopup;
     this.hoverSet = new Rico.HoverSet([]);
+    var self=this;
+    Rico.onLoad(function() { self.atLoad(); })
   },
 
   atLoad : function() {
index c9bf141..f9cc20e 100644 (file)
@@ -329,7 +329,7 @@ Rico.Window.prototype = {
     if (options.height) this.contentDiv.style.height=options.height;
     if (options.width) this.contentDiv.style.width=options.width;
     if (options.overflow) this.contentDiv.style.overflow=options.overflow;
-    Rico.addClass(this.content,'ricoWindow');
+    Rico.addClass(this.container,'ricoWindow');
     if (Rico.theme.dialog) Rico.addClass(this.container,Rico.theme.dialog);
     /*
     if (Rico.isIE) {
index 73cdcfb..327a2d3 100644 (file)
@@ -9,6 +9,9 @@ www.456bereastreet.com
 .Rico_accordion , .Rico_tabPanel, .ricoWindow {\r
   font-size:80%;\r
 }\r
+.ricoWindow .Rico_accordion , .ricoWindow .Rico_tabPanel{\r
+  font-size:90%;\r
+}\r
 div.ricoLG_outerDiv div.ricoLG_cell, table.ricoLiveGrid td, table.ricoLiveGrid th  {\r
   font-size: 70%;\r
   color:#000;\r
index 33f3727..67fbd24 100644 (file)
@@ -9,6 +9,9 @@ div.ricoLG_outerDiv *, div.ricoLG_outerDiv div.ricoLG_cell, div.ricoLG_editDiv *
 .Rico_accordion , .Rico_tabPanel, .ricoWindow {\r
   font-size:80%;\r
 }\r
+.ricoWindow .Rico_accordion , .ricoWindow .Rico_tabPanel{\r
+  font-size:90%;\r
+}\r
 div.ricoLG_outerDiv div.ricoLG_cell, table.ricoLiveGrid td, table.ricoLiveGrid th  {\r
   font-size: 70%;\r
   font-weight: normal;\r
@@ -73,7 +76,7 @@ caption {
 \r
 .ricoWindow {\r
   border: 1px solid #CCC;\r
-  background-color: #FCFCFC;\r
+  background-color: #FAFAFA;\r
 }\r
 .ricoTitle  {\r
   background-color: #FFF !important;\r
index 665ea3a..18b7174 100644 (file)
@@ -59,14 +59,16 @@ a.RicoButton.hover {
 }\r
 .Rico_tabTitle {\r
   height: 1.5em;\r
-  background-color: #D8E0F2;\r
+  background: #D8E0F2;\r
   font-weight : bold;\r
   margin-left: 2px;\r
   margin-right: 2px;\r
   text-align: center;\r
   white-space:nowrap;\r
-  overflow:hidden;\r
-  padding: 3px 5px 0px 5px;\r
+  padding: 4px 5px 0px 5px;\r
+  border-color: #4f4f4f;\r
+  border-width: 1px 1px 0px 1px;\r
+  border-style: solid;\r
 }\r
 \r
 .Rico_accordion  {\r
index cfb2d45..53dcd32 100644 (file)
@@ -3,7 +3,15 @@
  */\r
 \r
 body {font-size:100%;}\r
\r
+\r
+/* reset Themeroller font size */ \r
+div.ui-widget {\r
+  font-size: 80%;\r
+}\r
+.ui-dialog {\r
+  width: auto !important;\r
+}\r
+\r
 /* LiveGrid & SimpleGrid */\r
  \r
 .ricoLG_outerDiv {\r
@@ -242,8 +250,8 @@ div.ricoLG_editResponseDiv {
   left:0px;\r
 }\r
 \r
-.ricoLG_editDiv, div.ricoLG_editResponseDiv {\r
-  font-size: 75%;\r
+div.ricoLG_editResponseDiv {\r
+  font-size: 85%;\r
 }\r
 \r
 form .ricoEditLabel sup {\r
@@ -263,7 +271,7 @@ form .ricoEditLabel {
 }\r
 \r
 .ricoLG_editDiv div.ButtonBar {\r
-  padding: 0.3em 0px;\r
+  padding: 0.4em 0px;\r
   margin: 3px;\r
 }\r
 \r
@@ -402,10 +410,6 @@ a.RicoButton {
   white-space: nowrap;\r
 }\r
 \r
-.ui-dialog {\r
-  width: auto !important;\r
-}\r
-\r
 a.RicoButtonAnchorNative {\r
   background-color: #DDD;\r
   border: 1px outset;\r
@@ -510,8 +514,16 @@ td.RicoCalHeading {
   padding: 0px !important;\r
 }\r
 * html td.RicoCalHeading {\r
-  position: relative;\r
+  position: static !important; /* override Themeroller */\r
 }\r
+* html td.RicoCalHeading table {\r
+  float: left;\r
+}\r
+* html td.RicoCalHeading .RicoCloseAnchor {\r
+  position: static;\r
+  float: right;\r
+}\r
+\r
 .ui-datepicker td.RicoCalHeading  table{\r
   width: auto;\r
   margin: 0px 2em !important;\r
@@ -540,11 +552,6 @@ td.RicoCalHeading table a {
   padding: 0px !important;\r
 }\r
 \r
-.ricoCalContainer  .ricoCalToday {\r
-  font-weight:bold;\r
-  background-color: #33FFFF !important;\r
-}\r
-\r
 .ricoCalContainer .ricoSelectedDay {\r
   font-weight:bold;\r
   background-color: #FFFF66 !important;\r
@@ -655,6 +662,10 @@ td.ricoCalToday {
   font-weight:bold;\r
 }\r
 \r
+.ricoCalContainer  .ricoCalToday {\r
+  background-color: #33FFFF !important;\r
+}\r
+\r
 td.ricoCalWeekNum {\r
   background-color: #D4D0C8;\r
   color:black;\r
index c59bb69..0aabbe2 100644 (file)
@@ -26,6 +26,7 @@ Rico.addPhraseId('filterLike',"wie: $1");
 Rico.addPhraseId('filterNot',"nicht: $1");
 Rico.addPhraseId('requestError',"Die Anfrage ergab einen Fehler:\n$1");
 Rico.addPhraseId('keywordPrompt',"Schlüsselwort eintragen, nach dem gesucht werden soll (verwende * als Wildcard):");
+Rico.addPhraseId('apply',"Übernehmen");
 
 // used in ricoLiveGridMenu.js
 
index 8200337..1276f79 100644 (file)
@@ -24,6 +24,7 @@ Rico.addPhraseId('filterLike',"similar a: $1");
 Rico.addPhraseId('filterNot',"no: $1");\r
 Rico.addPhraseId('requestError',"Un error ocurrió mientras recibiendo datos:\n$1");\r
 Rico.addPhraseId('keywordPrompt',"Introduzca texto a buscar (use * como un comodín):");
+Rico.addPhraseId('apply',"Aplicar");
 \r
 // used in ricoLiveGridMenu.js\r
 \r
@@ -71,6 +72,7 @@ Rico.addPhraseId('hideFilterRow',"Ocultar la fila del filtro");
 \r
 // used in ricoLiveGridForms.js\r
 \r
+Rico.addPhraseId('ok',"Aceptar");
 Rico.addPhraseId('selectNone',"(nada)");\r
 Rico.addPhraseId('selectNewVal',"(nuevo valor)");\r
 Rico.addPhraseId('record',"el expediente");\r
index 05d40e0..8cb5555 100644 (file)
@@ -24,6 +24,7 @@ Rico.addPhraseId('filterLike',"comme: $1");
 Rico.addPhraseId('filterNot',"pas: $1");
 Rico.addPhraseId('requestError',"La requête a retourné une erreur:\n$1");
 Rico.addPhraseId('keywordPrompt',"Écrivez le mot-clé à rechercher (utiliser * comme caractère générique):");
+Rico.addPhraseId('apply',"Appliquer");
 
 // used in ricoLiveGridMenu.js
 
index 801baf9..c644a7d 100644 (file)
@@ -24,6 +24,7 @@ Rico.addPhraseId('filterLike',"come: $1");
 Rico.addPhraseId('filterNot',"non: $1");
 Rico.addPhraseId('requestError',"La richiesta ha generato un errore:\n$1");
 Rico.addPhraseId('keywordPrompt',"Inserisci la parola chiave da cercare (usa * come \"jolly\"):");
+Rico.addPhraseId('apply',"Applica");
 \r
 // used in ricoLiveGridMenu.js\r
 \r
index f593d79..051713b 100644 (file)
@@ -25,6 +25,7 @@ Rico.addPhraseId('filterLike',"как: $1");
 Rico.addPhraseId('filterNot',"не: $1");
 Rico.addPhraseId('requestError',"Запрос данных возвратил ошибку:\n$1");
 Rico.addPhraseId('keywordPrompt',"Искать по ключу (Используйте * для всех записей):");
+Rico.addPhraseId('apply',"Применить");
 
 // used in ricoLiveGridMenu.js
 
index e4d6fb3..25484a3 100644 (file)
@@ -25,6 +25,7 @@ Rico.addPhraseId('filterLike',"类似于: $1");
 Rico.addPhraseId('filterNot',"非: $1");
 Rico.addPhraseId('requestError',"该请求返回一个错误:\n$1");
 Rico.addPhraseId('keywordPrompt',"请输入搜索词(可使用通配符*):");
+Rico.addPhraseId('apply',"Apply");
 
 // used in ricoLiveGridMenu.js
 
@@ -74,6 +75,7 @@ Rico.addPhraseId('hideFilterRow',"隐藏被过滤的行");  // img alt text
 
 // used in ricoLiveGridForms.js
 
+Rico.addPhraseId('ok',"OK");
 Rico.addPhraseId('selectNone',"(无)");
 Rico.addPhraseId('selectNewVal',"(新值)");
 Rico.addPhraseId('record',"记录");
index d6f785e..47cdac0 100644 (file)
@@ -185,21 +185,22 @@ if(e){d.id=e
 }b.appendChild(d);
 return d
 };
-Rico.positionCtlOverIcon=function(g,k){k=this.$(k);
-var c=this.cumulativeOffset(k);
-var j=this.docScrollTop();
+Rico.positionCtlOverIcon=function(f,j){j=this.$(j);
+var b=this.cumulativeOffset(j);
+var i=this.docScrollTop();
 var a=this.windowHeight();
-if(g.style.display=="none"){g.style.display="block"
-}var h=2;
-var b=this.nan2zero(this.getStyle(k,"paddingLeft"));
-g.style.left=(c.left+b+h)+"px";
-var i=c.top+h;
-var f=g.offsetHeight;
-var e=k.offsetHeight;
+if(f.style.display=="none"){f.style.display="block"
+}var g=2;
+if(Rico.direction(j)=="rtl"){f.style.left=(b.left+j.offsetWidth-f.offsetWidth)+"px"
+}else{var d=this.nan2zero(this.getStyle(j,"marginLeft"));
+f.style.left=(b.left+d+g)+"px"
+}var h=b.top+g;
+var e=f.offsetHeight;
+var c=j.offsetHeight;
 var d=10;
-if(i+e+f+d<a+j){i+=e
-}else{i=Math.max(i-f,j)
-}g.style.top=i+"px"
+if(h+c+e+d<a+i){h+=c
+}else{h=Math.max(h-e,i)
+}f.style.top=h+"px"
 };
 Rico.createFormField=function(d,b,f,g,a){var e;
 if(typeof a!="string"){a=g
@@ -544,7 +545,7 @@ if(Rico.theme.dialogContent){Rico.addClass(this.contentDiv,Rico.theme.dialogCont
 if(a.height){this.contentDiv.style.height=a.height
 }if(a.width){this.contentDiv.style.width=a.width
 }if(a.overflow){this.contentDiv.style.overflow=a.overflow
-}Rico.addClass(this.content,"ricoWindow");
+}Rico.addClass(this.container,"ricoWindow");
 if(Rico.theme.dialog){Rico.addClass(this.container,Rico.theme.dialog)
 }this.content=this.contentDiv
 },setTitle:function(a){this.titleContent.innerHTML=a
@@ -1062,17 +1063,19 @@ if(typeof a.onreadystatechange=="function"){a.onreadystatechange()
 };
 Rico.CalendarControl=function(b,a){this.initialize(b,a)
 };
-Rico.CalendarControl.prototype={initialize:function(c,b){this.id=c;
-var a=new Date();
+Rico.CalendarControl.prototype={initialize:function(d,c){this.id=d;
+var b=new Date();
 Rico.extend(this,new Rico.Popup());
-Rico.extend(this.options,{ignoreClicks:true,startAt:0,showWeekNumber:0,showToday:1,dateFmt:"ISO8601",minDate:new Date(a.getFullYear()-50,0,1),maxDate:new Date(a.getFullYear()+50,11,31)});
-Rico.extend(this.options,b||{});
+Rico.extend(this.options,{ignoreClicks:true,startAt:0,showWeekNumber:0,showToday:1,dateFmt:"ISO8601",minDate:new Date(b.getFullYear()-50,0,1),maxDate:new Date(b.getFullYear()+50,11,31)});
+Rico.extend(this.options,c||{});
 this.close=this.closePopup;
 this.bPageLoaded=false;
-this.img=[];
 this.Holidays={};
 this.re=/^\s*(\w+)(\W)(\w+)(\W)(\w+)/i;
-this.setDateFmt(this.options.dateFmt)
+this.setDateFmt(this.options.dateFmt);
+var a=this;
+Rico.onLoad(function(){a.atLoad()
+})
 },setDateFmt:function(a){this.dateFmt=(a=="rico")?Rico.dateFmt:a;
 Rico.log(this.id+" date format set to "+this.dateFmt);
 this.dateParts={};
@@ -1088,21 +1091,30 @@ if(d){this.setDiv(d)
 this.container.id=this.id
 }Rico.addClass(this.content,Rico.theme.calendar||"ricoCalContainer");
 this.direction=Rico.direction(this.container);
-var b,k,g,f,h,p,m,q,e;
+var b,h,g,f,o,l,p,e;
 this.colStart=this.options.showWeekNumber?1:0;
-var l=7+this.colStart;
+var k=7+this.colStart;
 this.maintab=document.createElement("table");
 this.maintab.cellSpacing=2;
 this.maintab.cellPadding=0;
 this.maintab.border=0;
 this.maintab.style.borderCollapse="separate";
 this.maintab.className=Rico.theme.calendarTable||"ricoCalTab";
-this.tbody=Rico.getTBody(this.maintab);
-this.tbody.className="ricoCalBody";
 this.thead=this.maintab.createTHead();
 b=this.thead.insertRow(-1);
 this.heading=b.insertCell(-1);
-this.heading.colSpan=l;
+this.heading.colSpan=k;
+this.heading.className="RicoCalHeading";
+if(Rico.theme.calendarHeading){Rico.addClass(this.heading,Rico.theme.calendarHeading)
+}if(this.options.showToday){this.tfoot=this.maintab.createTFoot();
+this.tfoot.className="ricoCalFoot";
+b=this.tfoot.insertRow(-1);
+this.todayCell=b.insertCell(-1);
+this.todayCell.colSpan=k;
+this.todayCell.className=Rico.theme.calendarFooter||"ricoCalFoot";
+Rico.eventBind(this.todayCell,"click",Rico.eventHandle(this,"selectNow"),false)
+}this.tbody=Rico.getTBody(this.maintab);
+this.tbody.className="ricoCalBody";
 this.content.style.display="block";
 if(this.position=="absolute"){this.content.style.width="auto";
 this.maintab.style.width="auto"
@@ -1111,42 +1123,33 @@ this.heading.style.position="static";
 this.content.style.padding="0px";
 this.content.style.width="15em";
 this.maintab.style.width="100%"
-}this.heading.className="RicoCalHeading";
-if(Rico.theme.calendarHeading){Rico.addClass(this.heading,Rico.theme.calendarHeading)
-}this.navtab=this.heading.appendChild(document.createElement("table"));
-this.navrow=this.navtab.insertRow(-1);
-this._createTitleSection("Month");
-this.navrow.insertCell(-1).innerHTML="&nbsp;&nbsp;";
-this._createTitleSection("Year");
-new Rico.HoverSet(this.heading.getElementsByTagName("a"));
-if(this.position=="absolute"){this.heading.appendChild(Rico.closeButton(Rico.eventHandle(this,"close")))
 }this.styles=[];
 for(g=0;
 g<7;
 g++){b=this.tbody.insertRow(-1);
 b.className=g==0?"ricoCalDayNames":"row"+g;
-if(this.options.showWeekNumber){k=b.insertCell(-1);
-k.className="ricoCalWeekNum";
-if(g==0){k.innerHTML=Rico.getPhraseById("calWeekHdg")
+if(this.options.showWeekNumber){h=b.insertCell(-1);
+h.className="ricoCalWeekNum";
+if(g==0){h.innerHTML=Rico.getPhraseById("calWeekHdg")
 }}for(f=0;
 f<7;
-f++){k=b.insertCell(-1);
-if(g==0){p=(f+this.options.startAt)%7;
-k.innerHTML=Rico.dayAbbr(p);
-this.styles[f]="ricoCal"+p
-}else{k.className=this.styles[f];
-if(Rico.theme.calendarDay){Rico.addClass(k,Rico.theme.calendarDay)
-}}}}if(this.options.showToday){this.tfoot=this.maintab.createTFoot();
-this.tfoot.className="ricoCalFoot";
-b=this.tfoot.insertRow(-1);
-this.todayCell=b.insertCell(-1);
-this.todayCell.colSpan=l;
-this.todayCell.className=Rico.theme.calendarFooter||"ricoCalFoot";
-Rico.eventBind(this.todayCell,"click",Rico.eventHandle(this,"selectNow"),false)
-}this.content.appendChild(this.maintab);
+f++){h=b.insertCell(-1);
+if(g==0){o=(f+this.options.startAt)%7;
+h.innerHTML=Rico.dayAbbr(o);
+this.styles[f]="ricoCal"+o
+}else{h.className=this.styles[f];
+if(Rico.theme.calendarDay){Rico.addClass(h,Rico.theme.calendarDay)
+}}}}this.content.appendChild(this.maintab);
 new Rico.HoverSet(this.tbody.getElementsByTagName("td"),{hoverNodes:function(a){return a.innerHTML.match(/^\d+$/)?[a]:[]
 }});
-this.monthPopup=new Rico.Popup(document.createElement("div"),{shim:false,zIndex:10});
+this.navtab=this.heading.appendChild(document.createElement("table"));
+this.navrow=this.navtab.insertRow(-1);
+this._createTitleSection("Month");
+this.navrow.insertCell(-1).innerHTML="&nbsp;&nbsp;";
+this._createTitleSection("Year");
+new Rico.HoverSet(this.heading.getElementsByTagName("a"));
+if(this.position=="absolute"){this.heading.appendChild(Rico.closeButton(Rico.eventHandle(this,"close")))
+}this.monthPopup=new Rico.Popup(document.createElement("div"),{shim:false,zIndex:10});
 this.monthPopup.content.className="ricoCalMonthPrompt";
 e=document.createElement("table");
 e.className="ricoCalMenu";
@@ -1161,13 +1164,13 @@ g<4;
 g++){b=e.insertRow(-1);
 for(f=0;
 f<3;
-f++){k=b.insertCell(-1);
-m=document.createElement("a");
-m.innerHTML=Rico.monthAbbr(g*3+f);
-m.name=g*3+f;
-if(Rico.theme.calendarDay){Rico.addClass(m,Rico.theme.calendarDay)
-}k.appendChild(m);
-Rico.eventBind(m,"click",Rico.eventHandle(this,"selectMonth"),false)
+f++){h=b.insertCell(-1);
+l=document.createElement("a");
+l.innerHTML=Rico.monthAbbr(g*3+f);
+l.name=g*3+f;
+if(Rico.theme.calendarDay){Rico.addClass(l,Rico.theme.calendarDay)
+}h.appendChild(l);
+Rico.eventBind(l,"click",Rico.eventHandle(this,"selectMonth"),false)
 }}new Rico.HoverSet(e.getElementsByTagName("a"));
 this.monthPopup.content.appendChild(e);
 this.container.appendChild(this.monthPopup.container);
@@ -1175,34 +1178,34 @@ this.monthPopup.closePopup();
 this.yearPopup=new Rico.Popup(document.createElement("div"),{shim:false,zIndex:10});
 this.yearPopup.content.className="ricoCalYearPrompt";
 if(Rico.theme.calendarPopdown){Rico.addClass(this.yearPopup.content,Rico.theme.calendarPopdown)
-}var o=document.createElement("p");
-o.innerHTML=Rico.getPhraseById("calYearRange",this.options.minDate.getFullYear(),this.options.maxDate.getFullYear());
-var n=document.createElement("p");
-this.yearInput=n.appendChild(document.createElement("input"));
+}var n=document.createElement("p");
+n.innerHTML=Rico.getPhraseById("calYearRange",this.options.minDate.getFullYear(),this.options.maxDate.getFullYear());
+var m=document.createElement("p");
+this.yearInput=m.appendChild(document.createElement("input"));
 this.yearInput.maxlength=4;
 this.yearInput.size=4;
 Rico.eventBind(this.yearInput,"keyup",Rico.eventHandle(this,"yearKey"),false);
-m=Rico.floatButton("Checkmark",Rico.eventHandle(this,"processPopUpYear"));
-n.appendChild(m);
-m=Rico.floatButton("Cancel",Rico.eventHandle(this,"popDownYear"));
-n.appendChild(m);
-this.yearPopup.content.appendChild(o);
+l=Rico.floatButton("Checkmark",Rico.eventHandle(this,"processPopUpYear"));
+m.appendChild(l);
+l=Rico.floatButton("Cancel",Rico.eventHandle(this,"popDownYear"));
+m.appendChild(l);
 this.yearPopup.content.appendChild(n);
+this.yearPopup.content.appendChild(m);
 this.container.appendChild(this.yearPopup.container);
 this.yearPopup.closePopup();
-m=this.content.getElementsByTagName("a");
+l=this.content.getElementsByTagName("a");
 for(g=0;
-g<m.length;
-g++){m[g].href="javascript:void(0)"
+g<l.length;
+g++){l[g].href="javascript:void(0)"
 }Rico.eventBind(this.tbody,"click",Rico.eventHandle(this,"saveAndClose"));
-this.close();
 this.bPageLoaded=true
 },_createTitleSection:function(e){var d=["left","right"];
 if(this.direction=="rtl"){d.reverse()
 }var f=this.navrow.insertCell(-1);
 var b=f.appendChild(document.createElement("a"));
 b.className="Rico_"+d[0]+"Arrow";
-b.appendChild(this.createNavArrow("dec"+e,d[0]));
+b.appendChild(this._createNavArrow(d[0]));
+Rico.eventBind(b,"click",Rico.eventHandle(this,"dec"+e),false);
 f=this.navrow.insertCell(-1);
 b=f.appendChild(document.createElement("a"));
 Rico.eventBind(b,"click",Rico.eventHandle(this,"popUp"+e),false);
@@ -1210,7 +1213,12 @@ this["title"+e]=b;
 f=this.navrow.insertCell(-1);
 b=f.appendChild(document.createElement("a"));
 b.className="Rico_"+d[1]+"Arrow";
-b.appendChild(this.createNavArrow("inc"+e,d[1]))
+b.appendChild(this._createNavArrow(d[1]));
+Rico.eventBind(b,"click",Rico.eventHandle(this,"inc"+e),false)
+},_createNavArrow:function(b){var a=document.createElement("span");
+a.className=Rico.theme[b+"Arrow"]||"rico-icon Rico_"+b+"Arrow";
+a.style.display="inline-block";
+return a
 },selectNow:function(){var a=new Date();
 this.dateNow=a.getDate();
 this.monthNow=a.getMonth();
@@ -1218,11 +1226,6 @@ this.yearNow=a.getFullYear();
 this.monthSelected=this.monthNow;
 this.yearSelected=this.yearNow;
 this.constructCalendar()
-},createNavArrow:function(a,c){var b=document.createElement("span");
-b.className=Rico.theme[c+"Arrow"]||"rico-icon Rico_"+c+"Arrow";
-b.style.display="inline-block";
-Rico.eventBind(b,"click",Rico.eventHandle(this,a),false);
-return b
 },isValidMonth:function(a,b){if(a<this.options.minDate.getFullYear()){return false
 }if(a==this.options.minDate.getFullYear()&&b<this.options.minDate.getMonth()){return false
 }if(a>this.options.maxDate.getFullYear()){return false
@@ -1390,19 +1393,22 @@ this.openPopup()
 }};
 Rico.ColorPicker=function(b,a){this.initialize(b,a)
 };
-Rico.ColorPicker.prototype={initialize:function(h,c){this.id=h;
+Rico.ColorPicker.prototype={initialize:function(i,d){this.id=i;
 this.currentValue="#FFFFFF";
 Rico.extend(this,new Rico.Popup());
 Rico.extend(this.options,{showColorCode:false,cellsPerRow:18,palette:[]});
-var f=["00","33","66","99","CC","FF"];
-for(var e=0;
-e<f.length;
-e++){for(var d=0;
-d<f.length;
-d++){for(var a=0;
-a<f.length;
-a++){this.options.palette.push(f[d]+f[e]+f[a])
-}}}Rico.extend(this.options,c||{})
+var h=["00","33","66","99","CC","FF"];
+for(var f=0;
+f<h.length;
+f++){for(var e=0;
+e<h.length;
+e++){for(var a=0;
+a<h.length;
+a++){this.options.palette.push(h[e]+h[f]+h[a])
+}}}Rico.extend(this.options,d||{});
+var c=this;
+Rico.onLoad(function(){c.atLoad()
+})
 },atLoad:function(){this.createContainer();
 this.content.className="ricoColorPicker";
 var c=this.options.cellsPerRow;
@@ -1685,10 +1691,13 @@ c.style.top=""
 }}};
 Rico.KeywordSearch=function(b,a){this.initialize(b,a)
 };
-Rico.KeywordSearch.prototype={initialize:function(b,a){this.id=b;
-Rico.extend(this,new Rico.Window(Rico.getPhraseById("keywordTitle"),a));
+Rico.KeywordSearch.prototype={initialize:function(c,b){this.id=c;
+Rico.extend(this,new Rico.Window(Rico.getPhraseById("keywordTitle"),b));
 Rico.addClass(this.content,"ricoKeywordSearch");
-Rico.extend(this.options,{listLength:10,maxSuggest:20,width:"12em"})
+Rico.extend(this.options,{listLength:10,maxSuggest:20,width:"12em"});
+var a=this;
+Rico.onLoad(function(){a.atLoad()
+})
 },atLoad:function(){this.searchField=Rico.createFormField(this.contentDiv,"input","text",this.id+"_search");
 this.searchField.style.display="block";
 this.searchField.style.width=this.options.width;
@@ -1754,13 +1763,16 @@ this.returnValue(a.value,a.innerHTML)
 }};
 Rico.TreeControl=function(c,b,a){this.initialize(c,b,a)
 };
-Rico.TreeControl.prototype={initialize:function(c,b,a){Rico.extend(this,new Rico.Popup());
+Rico.TreeControl.prototype={initialize:function(d,c,b){Rico.extend(this,new Rico.Popup());
 Rico.extend(this.options,{ignoreClicks:true,nodeIdDisplay:"none",showCheckBox:false,showFolders:false,showPlusMinus:true,showLines:true,defaultAction:Rico.eventHandle(this,"nodeClick"),height:"300px",width:"300px",leafIcon:"rico-icon rico-doc"});
-Rico.extend(this.options,a||{});
-this.id=c;
-this.dataSource=b;
+Rico.extend(this.options,b||{});
+this.id=d;
+this.dataSource=c;
 this.close=this.closePopup;
-this.hoverSet=new Rico.HoverSet([])
+this.hoverSet=new Rico.HoverSet([]);
+var a=this;
+Rico.onLoad(function(){a.atLoad()
+})
 },atLoad:function(){this.treeDiv=document.createElement("div");
 this.treeDiv.id=this.id;
 this.treeDiv.className="ricoTree";
@@ -2687,7 +2699,7 @@ this.foundRowCount=false;
 this.totalRows=0;
 this.rowcntContent="";
 this.rcvdOffset=-1;
-this.options={fixedHdrRows:0,canFilter:true,isEncoded:true,acceptStyle:false};
+this.options={fixedHdrRows:0,canFilter:true,isEncoded:true,acceptStyle:false,canRefresh:false};
 Rico.extend(this.options,a||{});
 if(b){this.loadRowsFromTable(b,this.options.fixedHdrRows);
 b.parentNode.removeChild(b)
@@ -3186,7 +3198,7 @@ e.className="ricoLG_mFilter_content";
 var o=d.mFilter.appendChild(document.createElement("div"));
 o.className="ricoLG_mFilter_button";
 d.mFilterButton=o.appendChild(document.createElement("button"));
-d.mFilterButton.innerHTML=Rico.getPhraseById("ok");
+d.mFilterButton.innerHTML=Rico.getPhraseById("apply");
 var j=Rico.isWebKit?"mousedown":"click";
 Rico.eventBind(d.filterField,j,Rico.eventHandle(d,"mFilterSelectClick"));
 Rico.eventBind(d.mFilterButton,"click",Rico.eventHandle(d,"mFilterFinish"));
@@ -4224,9 +4236,9 @@ if(d.isText){this.filtermenu.addMenuItemId("gridmenuContains",function(){o.openK
 },true)
 }}}if(o.filterCount()>0){this.filtermenu.addMenuItemId("gridmenuRemoveAll",function(){o.clearFilters()
 },true)
-}this.filtermenu.addMenuItemId("gridmenuRefresh",function(){o.filterHandler()
+}if(f.options.canRefresh){this.filtermenu.addMenuItemId("gridmenuRefresh",function(){o.filterHandler()
 },true)
-}this.exportmenu.clearMenu();
+}}this.exportmenu.clearMenu();
 if(n>0){this.addSubMenuItem(Rico.getPhraseById("gridmenuExport"),this.exportmenu,false);
 if(f.printVisibleSQL&&typeof(f.dataSource)=="string"){this.exportmenu.addMenuItemId("gridmenuExportVis2Web",function(){f.printVisibleSQL("html")
 });
@@ -4259,9 +4271,9 @@ if(k.length>1){this.hideshowmenu.addMenuItemId("gridmenuShowAll",function(){o.sh
 }};
 if(typeof Rico=="undefined"){throw ("LiveGridAjax requires the Rico JavaScript framework")
 }if(!Rico.Buffer){Rico.Buffer={}
-}Rico.Buffer.AjaxXML=function(c,b,a){this.initialize(c,b,a)
+}Rico.Buffer.AjaxLoadOnce=function(c,b,a){this.initialize(c,b,a)
 };
-Rico.Buffer.AjaxXML.prototype={initialize:function(c,b,a){Rico.extend(this,new Rico.Buffer.Base());
+Rico.Buffer.AjaxLoadOnce.prototype={initialize:function(c,b,a){Rico.extend(this,new Rico.Buffer.Base());
 Rico.extend(this,Rico.Buffer.AjaxXMLMethods);
 this.dataSource=c;
 this.options.bufferTimeout=20000;
@@ -4449,12 +4461,13 @@ this.liveGrid.refreshContents(e)
 }};
 Rico.Buffer.AjaxSQL=function(c,b,a){this.initialize(c,b,a)
 };
-Rico.Buffer.AjaxSQL.prototype={initialize:function(c,b,a){Rico.extend(this,new Rico.Buffer.AjaxXML());
+Rico.Buffer.AjaxSQL.prototype={initialize:function(c,b,a){Rico.extend(this,new Rico.Buffer.AjaxLoadOnce());
 Rico.extend(this,Rico.Buffer.AjaxSQLMethods);
 this.dataSource=c;
 this.options.canFilter=true;
 this.options.largeBufferSize=7;
 this.options.nearLimitFactor=1;
+this.options.canRefresh=true;
 Rico.extend(this.options,b||{});
 Rico.extend(this.ajaxOptions,a||{})
 }};
@@ -4614,7 +4627,6 @@ this.delText=Rico.getPhraseById("deleteRecord",this.options.RecordName);
 this.addText=Rico.getPhraseById("addRecord",this.options.RecordName);
 this.buttonHover=new Rico.HoverSet();
 this.dateRegExp=/^\s*(\w+)(\W)(\w+)(\W)(\w+)/i;
-Rico.EditControls.atLoad();
 this.createKeyArray();
 this.createEditDiv();
 this.saveMsg=Rico.$(b.tableId+"_savemsg");
@@ -4639,7 +4651,7 @@ this.createForm(this.formPopup.contentDiv)
 this.responseDialog=this.grid.createDiv("editResponse",document.body);
 this.responseDialog.style.display="none";
 var b=document.createElement("button");
-b.appendChild(document.createTextNode("OK"));
+b.appendChild(document.createTextNode(Rico.getPhraseById("ok")));
 Rico.eventBind(b,"click",Rico.eventHandle(this,"ackResponse"));
 this.responseDialog.appendChild(b);
 this.responseDiv=this.grid.createDiv("editResponseText",this.responseDialog);
@@ -5234,11 +5246,7 @@ b.returnValue=function(d,e){a.setValue(b,d,e)
 };
 Rico.log("Rico.EditControls.register:"+b.id)
 },setZ:function(a){this.zIndex=Math.max(this.zIndex,a+10)
-},atLoad:function(){for(var b in this.widgetList){var a=this.widgetList[b].widget;
-if(a.atLoad&&!a.atLoadComplete){Rico.log("Rico.EditControls.atLoad: "+b);
-a.atLoad();
-a.atLoadComplete=true
-}}},applyTo:function(e,f){var c=this.widgetList[e.format.SelectCtl];
+},applyTo:function(e,f){var c=this.widgetList[e.format.SelectCtl];
 if(!c){return
 }Rico.log("Rico.EditControls.applyTo: "+e.displayName+" : "+e.format.SelectCtl);
 var a,d=document.createElement("span");
@@ -5316,7 +5324,7 @@ Rico.addPhraseId("filterNot","not: $1");
 Rico.addPhraseId("requestError","The request for data returned an error:\n$1");
 Rico.addPhraseId("keywordPrompt","Enter keyword to search for (use * as a wildcard):");
 Rico.addPhraseId("keywordTitle","Keyword Search");
-Rico.addPhraseId("ok","OK");
+Rico.addPhraseId("apply","Apply");
 Rico.addPhraseId("gridmenuSortBy","Sort by: $1");
 Rico.addPhraseId("gridmenuSortAsc","Ascending");
 Rico.addPhraseId("gridmenuSortDesc","Descending");
@@ -5353,6 +5361,7 @@ Rico.addPhraseId("exportInProgress","Export in progress...");
 Rico.addPhraseId("disableBlocker","You need to disable your browser's pop-up blocker before exporting.");
 Rico.addPhraseId("showFilterRow","Show filter row");
 Rico.addPhraseId("hideFilterRow","Hide filter row");
+Rico.addPhraseId("ok","OK");
 Rico.addPhraseId("selectNone","(none)");
 Rico.addPhraseId("selectNewVal","(new value)");
 Rico.addPhraseId("record","record");