[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13319] custom.edit.js
From: |
Saul |
Subject: |
[Fmsystem-commits] [13319] custom.edit.js |
Date: |
Fri, 29 May 2015 22:55:01 +0000 |
Revision: 13319
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13319
Author: psaul
Date: 2015-05-29 22:55:00 +0000 (Fri, 29 May 2015)
Log Message:
-----------
custom.edit.js
Modified Paths:
--------------
branches/dev-syncromind/property/js/portico/custom.edit.js
Modified: branches/dev-syncromind/property/js/portico/custom.edit.js
===================================================================
--- branches/dev-syncromind/property/js/portico/custom.edit.js 2015-05-29
22:54:31 UTC (rev 13318)
+++ branches/dev-syncromind/property/js/portico/custom.edit.js 2015-05-29
22:55:00 UTC (rev 13319)
@@ -3,8 +3,18 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
+var intVal = function ( i )
+{
+ return typeof i === 'string' ?
+ i.replace(/[\$,]/g, '')*1 :
+ typeof i === 'number' ?
+ i : 0;
+};
+
this.local_DrawCallback1 = function(oTable)
{
- var api = oTable.api();
- api.columns( '.sorting' ).order( 'asc' );
+ var oTable = $('#datatable-container_0').dataTable();
+// var api = oTable.api();
+// api.columns('.sorting').order('asc');
+ oTable.fnSort( [ [2,'asc'] ] );
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13319] custom.edit.js,
Saul <=