Revision: 2041
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2041&view=rev
Author:   cimorrison
Date:     2011-09-30 15:40:55 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Disabled column reordering completely because there are a number of situations 
where it is not currently supported by DataTables and it's confusing for the 
user having it sometimes enabled and sometimes not.   Can be re-enabled at a 
future release of DataTables.

Modified Paths:
--------------
    mrbs/branches/datatables/web/Themes/default/header.inc

Modified: mrbs/branches/datatables/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/datatables/web/Themes/default/header.inc      2011-09-30 
15:26:54 UTC (rev 2040)
+++ mrbs/branches/datatables/web/Themes/default/header.inc      2011-09-30 
15:40:55 UTC (rev 2041)
@@ -322,7 +322,20 @@
             ?>
             if (!specificOptions.sAjaxSource)
             {
+              <?php
+              /*
+              // In fact we don't use column reordering at all, because (a) it 
doesn't
+              // work with an Ajax source (b) there's no way of fixing the 
right hand column
+              // (c) iFixedColumns doesn't seem to work properly and (d) it's 
confusing
+              // for the user having reordering enabled sometimes and 
sometimes not.  Better
+              // to wait for a future release of DataTables when these issues 
have been
+              // fixed.  In the meantime the line of code we need is there 
below so we can see
+              // how it is done, but commented out.
+              
               var oCR = new ColReorder(oTable, mergedOptions);
+              
+              */
+              ?>
             }
             <?php
             // Need to re-create the datatable when the browser window is 
resized.  We

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


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to