summaryrefslogtreecommitdiff
path: root/UI/form-dynatable.csv
blob: d7691bf4d723a41c0ca0d9f029dea34b4534a186 (plain)
  1. <?lsmb FOREACH column IN columns;
  2. IF heading.$column.text;
  3. heading.$column.text;
  4. ELSE;
  5. heading.$column;
  6. END;
  7. IF NOT loop.last
  8. ?>,<?lsmb
  9. END;
  10. END ?>
  11. <?lsmb FOREACH row IN rows;
  12. FOREACH column IN columns;
  13. IF row.$column.text.defined;
  14. row.$column.text;
  15. ELSE;
  16. row.$column;
  17. END;
  18. IF NOT loop.last
  19. ?>,<?lsmb
  20. END;
  21. END ?>
  22. <?lsmb END;
  23. IF totals;
  24. t = [];
  25. FOREACH column IN columns;
  26. t.push(totals.$column);
  27. END;
  28. t.join(',');
  29. END ?>