• DataTable 中文国际化


    DataTable中文设置,详见代码

     1 var table = $('#example').DataTable({
     2     "language": {
     3         "processing": "处理中...",
     4         "lengthMenu": "显示 _MENU_ 项结果",
     5         "zeroRecords": "没有匹配结果",
     6         "info": "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项",
     7         "infoEmpty": "显示第 0 至 0 项结果,共 0 项",
     8         "infoFiltered": "(由 _MAX_ 项结果过滤)",
     9         "infoPostFix": "",
    10         "search": "搜索:",
    11         "searchPlaceholder": "搜索...",
    12         "url": "",
    13         "emptyTable": "表中数据为空",
    14         "loadingRecords": "载入中...",
    15         "infoThousands": ",",
    16         "paginate": {
    17             "first": "首页",
    18             "previous": "上页",
    19             "next": "下页",
    20             "last": "末页"
    21         },
    22         "aria": {
    23             paginate: {
    24                 first: '首页',
    25                 previous: '上页',
    26                 next: '下页',
    27                 last: '末页'
    28             },
    29             "sortAscending": ": 以升序排列此列",
    30             "sortDescending": ": 以降序排列此列"
    31         },
    32         "decimal": "-",
    33         "thousands": "."
    34     }
    35 });
  • 相关阅读:
    MySQLSource-Flume
    Flume
    Hive| ETL清洗& 查询练习
    Hive-04 压缩| 存储
    Hive-03 查询
    Hive-02 DDL| DML
    shell基本用法
    Hive-01 配置| 架构原理
    HDFS-HA高可用 | Yarn-HA
    react-路由和Ant design
  • 原文地址:https://www.cnblogs.com/rangger/p/9349760.html
Copyright © 2020-2023  润新知