Revision: 4465
          http://vexi.svn.sourceforge.net/vexi/?rev=4465&view=rev
Author:   clrg
Date:     2012-12-10 06:30:01 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Fix demo (column/cell datatype required)

Modified Paths:
--------------
    trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t
    trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_dynamic.t

Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t
===================================================================
--- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t       
2012-12-10 06:28:21 UTC (rev 4464)
+++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t       
2012-12-10 06:30:01 UTC (rev 4465)
@@ -13,9 +13,9 @@
         <wi:bevel form="down">
             <table id="table">
                 <head id="head">
-                    <column text="First Name" minwidth="100" />
-                    <column text="Surname" minwidth="100" />
-                    <column text="Location" minwidth="200" />
+                    <column text="First Name" minwidth="100" datatype="string" 
/>
+                    <column text="Surname" minwidth="100" datatype="string" />
+                    <column text="Location" minwidth="200" datatype="string" />
                     <column text="A" tooltip="Active" hshrink="true" 
datatype="boolean" />
                 </head>
                 <body id="body" />

Modified: 
trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_dynamic.t
===================================================================
--- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_dynamic.t     
2012-12-10 06:28:21 UTC (rev 4464)
+++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_dynamic.t     
2012-12-10 06:30:01 UTC (rev 4465)
@@ -67,10 +67,10 @@
         <wi:bevel form="down">
             <table id="table" dynamic="true">
                 <head id="head">
-                    <column text="Index" minwidth="150"/>
-                    <column text="0 - i" minwidth="150"/>
-                    <column text="i + 1" minwidth="150"/>
-                    <column text="p(i)"  minwidth="150" primes="true"/>
+                    <column text="Index" minwidth="150" datatype="number" />
+                    <column text="0 - i" minwidth="150" datatype="number" />
+                    <column text="i + 1" minwidth="150" datatype="number" />
+                    <column text="p(i)"  minwidth="150" datatype="number" 
primes="true"/>
                 </head>
                 <body id="body" />
                 <foot>
@@ -93,7 +93,7 @@
         var primes = static.newPrimeCalculator();      
 
         var newPrimeCell = function(row) {
-            var cell = new .cell();
+            var cell = new .cell("number");
             cell.value ++= function(v) {
                 var ind = row.value?[0];
                 if (ind==null) return;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to