[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12809]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12809] |
Date: |
Mon, 02 Mar 2015 23:31:15 +0000 |
Revision: 12809
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12809
Author: nelson224
Date: 2015-03-02 23:31:14 +0000 (Mon, 02 Mar 2015)
Log Message:
-----------
Added Paths:
-----------
branches/dev-syncromind/property/js/portico/request.index.js
Added: branches/dev-syncromind/property/js/portico/request.index.js
===================================================================
--- branches/dev-syncromind/property/js/portico/request.index.js
(rev 0)
+++ branches/dev-syncromind/property/js/portico/request.index.js
2015-03-02 23:31:14 UTC (rev 12809)
@@ -0,0 +1,37 @@
+var addFooterDatatable2 = function (nRow, aaData, iStart, iEnd, aiDisplay,
oTable)
+{
+ var api = oTable.api();
+ var data = api.ajax.json();
+ var nCells = nRow.getElementsByTagName('th');
+
+ for(i=0;i < JqueryPortico.columns.length;i++)
+ {
+ switch (JqueryPortico.columns[i]['data'])
+ {
+ case 'amount_investment':
+ if (typeof(nCells[i]) !== 'undefined')
+ {
+ nCells[i].innerHTML =
data.amount_investment;
+ }
+ break;
+ case 'amount_operation':
+ if (typeof(nCells[i]) !== 'undefined')
+ {
+ nCells[i].innerHTML =
data.amount_operation;
+ }
+ break;
+ case 'amount_potential_grants':
+ if (typeof(nCells[i]) !== 'undefined')
+ {
+ nCells[i].innerHTML =
data.amount_potential_grants;
+ }
+ break;
+ case 'consume':
+ if (typeof(nCells[i]) !== 'undefined')
+ {
+ nCells[i].innerHTML = data.consume;
+ }
+ break;
+ }
+ }
+};
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12809],
Nelson Guerra <=