标签:
{ "sProcessing": "Processing...", "sLengthMenu": "Show _MENU_ entries", "sZeroRecords": "No matching records found", "sInfo": "Showing _START_ to _END_ of _TOTAL_ entries", "sInfoEmpty": "No data found", "sInfoFiltered": "(filtered from _MAX_ entries)", "sInfoPostFix": "", "sSearch": "Search:", "sUrl": "", "oPaginate": { "sFirst": "", "sPrevious": "Previous", "sNext": "Next", "sLast": "" } }
其中粗体的部分为占位符,在翻译成其他语言的时候请保持不变。
function() { this.setAddInOptions("colType","formattedText",function(cell_data){ return {textFormat: function(v, st) {return (v*100).toFixed(2) + ‘%‘}}; }); }
function() { $(‘select[name="<HtmlObject的值>Table_length"]‘).append($(‘<option>‘, { value: ‘<需要添加的选项的value>‘, text: ‘<需要添加的选项的label>‘ } )); }
references:
http://forums.pentaho.com/showthread.php?91709-Using-oLanguage-in-CDE-Table-Component
http://pentaho-bi-suite.blogspot.com/2014/06/conditional-coloring-of-cell-values-in.html
Pentaho BI server 中 CCC table Component 的使用小技巧
标签:
原文地址:http://www.cnblogs.com/penghongwei/p/4616520.html