Export table tcue: close #421

This commit is contained in:
Emmanuel Viennet 2022-07-01 16:34:36 +02:00
parent 5a8add1aac
commit dbf562b701

View File

@ -154,7 +154,7 @@ $(function () {
},
{
// Elimine les 0 à gauche pour les exports excel et les "copy"
targets: ["col_mod", "col_moy_gen", "col_ue", "col_res", "col_sae", "evaluation"],
targets: ["col_mod", "col_moy_gen", "col_ue", "col_res", "col_sae", "evaluation", "col_rcue"],
render: function (data, type, row) {
return type === 'export' ? data.replace(/0(\d\..*)/, '$1') : data;
}