// tableCommandeLigne.columns.adjust().draw();

                                    // $("#tableCommandeLigne").DataTable().destroy()
                                    // tableCommandeLigne = $("#tableCommandeLigne").DataTable({
                                    //     bFilter: false,
                                    //     language: {
                                    //         dom: 'Bfrtip',
                                    //         processing: true,
                                    //         lengthMenu: "Afficher :&nbsp; _MENU_ &eacute;l&eacute;ments",
                                    //         info: "Affichage de l'&eacute;lement _START_ &agrave; _END_ sur _TOTAL_ &eacute;l&eacute;ments",
                                    //         infoEmpty: "Affichage de l'&eacute;lement 0 &agrave; 0 sur 0 &eacute;l&eacute;ments",
                                    //         infoFiltered: "(filtr&eacute; de _MAX_ &eacute;l&eacute;ments au total)",
                                    //         infoPostFix: "",
                                    //         loadingRecords: "Chargement en cours...",
                                    //         zeroRecords: "Aucun &eacute;l&eacute;ment &agrave; afficher",
                                    //         emptyTable: tableVide,

                                    //         paginate: {
                                    //             first: "",
                                    //             previous: "Pr&eacute;c&eacute;dent",
                                    //             next: "Suivant",
                                    //             last: ""
                                    //         },
                                    //         aria: {
                                    //             sortAscending: ": activer pour trier la colonne par ordre croissant",
                                    //             sortDescending: ": activer pour trier la colonne par ordre décroissant"
                                    //         },
                                    //         search: "Rechercher&nbsp;:",
                                    //     },
                                    //     paging: false,
                                    //     scrollY: "500px",
                                    //     scrollX: true,
                                    //     // pageLength: 1000,
                                    //     "data": obj,
                                    //     // 'columns': [{
                                    //     //         data: 'actionDelete',
                                    //     //         className: "",
                                    //     //         tooltip: true
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'CodeTedisProduit',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'DesignationProduit',
                                    //     //         className: 'text-left'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'ColisageProduit',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'StockPaysProduit',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'QteCoursDeRoute',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputVM',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputstockPlusCR',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'stockPlusCREnVM',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputQteCmde',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'LibelleFormeProduit'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'QuantiteSurPlusSaisonnier',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputqdeSurVM',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputSCRC',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputSCRCenVM',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'PrixFHTFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'PrixGHTFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'PrixCessionHTFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputTotalHTFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'TauxTaxe',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'inputTotalTTCFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'QuantiteMiniFournisseurFormat',
                                    //     //         className: 'text-end'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'CodeCipProduit1',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'CodeTypeExpedition'
                                    //     //     },
                                    //     //     {
                                    //     //         // data: 'PoidsProduit',
                                    //     //         data: 'inputPoidsTotalProduit',
                                    //     //         className: 'text-center'
                                    //     //     },

                                    //     //     {
                                    //     //         // data: 'VolumeProduit',
                                    //     //         data: 'inputVolumeTotalProduit',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'VMMoyenneSaison1',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'VMMoyenneSaison2',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'SeuilReapproProduitSaisonnier',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'Vm_0',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'Vm_1',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'Vm_3',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'Vm_6',
                                    //     //         className: 'text-center'
                                    //     //     },
                                    //     //     {
                                    //     //         data: 'Vm_12',
                                    //     //         className: 'text-center'
                                    //     //     }
                                    //     // ],
                                    //     //
                                    //     : function(settings) {
                                    //         var api = settings.oInstance.api();
                                    //         var rows = api.rows().nodes();
                                    //         var last = null;
                                    //         let tailleDonne = api.data().length


                                    //         let oldAchat = ""
                                    //         let oldFseur = ""
                                    //         let oldFamille = ""

                                    //         let step1 = false


                                    //         let nbreLigne = 0
                                    //         let nbreLigneFamille = 0
                                    //         let nbreLigneBureau = 0

                                    //         let TxHT = 0
                                    //         let TxTVA = 0
                                    //         let TxTTC = 0
                                    //         let TxHTTotal = 0
                                    //         let TxTVATotal = 0
                                    //         let TxTTCTotal = 0


                                    //         let QteMinFseur = 0

                                    //         let LibelleFamilleProduit = 0
                                    //         let LibelleModeExpedition = 0

                                    //         let rupBureauAchatFseur = 0
                                    //         let rupFamilleExp = 0

                                    //         function selectLine(numLigne,
                                    //             bureauAchat, fournisseur, famille,
                                    //             modeExp, nbreLigne = 0, ruptBF = 0,
                                    //             rupFM = 0, TxHT = 0,
                                    //             TxTVA =
                                    //             0, TxTTC = 0, QteMinFseur = 0,
                                    //             IdBonLigne = "") {

                                    //             if (IdBonLigne == "") {
                                    //                 switch (numLigne) {
                                    //                     case 1:
                                    //                         return `<tr class="group " style="background : #F3F5F6">\
                                //                     <td colspan="34" style="color: #D3361D; font-size : 9pt" class="ps-3"> Bureau d'achat : <span style="font-weight: bold;"> ${bureauAchat  ?? ""} </span> - Fournisseur : <span style="font-weight: bold;">${fournisseur} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 2:
                                    //                         return `<tr class="group" style="background : rgb(73, 182, 245, .1)">\
                                //                     <td colspan="34" style="font-size : 9pt" class="ps-3"> Famille : <span style="font-weight: bold;">${famille  ?? ""}</span> - Mode : <span style="font-weight: bold;">${modeExp ?? ""} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 3:
                                    //                         return `<tr class="group" style="background : rgb(73, 182, 245, .1)" data-id="ligne3-${numLigne}" data-rupFM='${ruptBF}'>\
                                //                     <td colspan="3" style="font-size : 9pt" class="ps-3"> Famille : <span style="font-weight: bold;">${famille  ?? ""}</span> - Mode : <span style="font-weight: bold;">${modeExp  ?? ""} </span></td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3"> Nb Ligne : ${nbreLigne} </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3"> TxHT : <span id="mntTxHT-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxHT))} </span> </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3"> TxTVA : <span id="mntTxTVA-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxTVA))} </span> </td>\
                                //                     <td colspan="26" style="font-size : 9pt" class="ps-3"> TxTTC : <span id="mntTxTTC-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxTTC))} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 4:
                                    //                         return `<tr class="group" style="background : #F3F5F6" data-rupAF='${rupFM}'>\
                                //                     <td colspan="3" style="color: #D3361D; font-size : 9pt" class="ps-3"> Bureau d'achat : <span style="font-weight: bold;">${bureauAchat  ?? ""}</span>  - Fournisseur : <span style="font-weight: bold;">${fournisseur  ?? ""}</span></td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3"> Nb Ligne : <span style="font-weight: bold; color: #D3361D"> ${nbreLigne} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3"> TxHT : <span style="font-weight: bold; color: #D3361D" id="totalMntTxHT-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxHT))} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3"> TxTVA : <span style="font-weight: bold; color: #D3361D" id="totalMntTxTVA-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxTVA))} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3"> TxTTC : <span style="font-weight: bold; color: #D3361D" id="totalMntTxTTC-${ruptBF}-${rupFM}"> ${formatNumberPerf(parseInt(TxTTC))} </span> </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3"> Mini Fournisseur : <span style="font-weight: bold;"> ${formatNumberPerf(QteMinFseur)} </span></td>\
                                //                     <td colspan="25" style="font-size : 9pt" class="ps-3"> Ecart HT : <span style="font-weight: bold; color: #D3361D"> </span></td>\
                                //                 </tr>`
                                    //                         break;
                                    //                 }
                                    //             } else {
                                    //                 switch (numLigne) {
                                    //                     case 1:
                                    //                         return `<tr class="group " style="background : #F3F5F6">\
                                //                     <td colspan="34" style="color: #D3361D; font-size : 9pt" class="ps-3"> Bureau d'achat : <span style="font-weight: bold;"> ${bureauAchat  ?? ""} </span> - Fournisseur : <span style="font-weight: bold;">${fournisseur  ?? ""} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 2:
                                    //                         return `<tr class="group" style="background : rgb(73, 182, 245, .1)">\
                                //                     <td colspan="34" style="font-size : 9pt" class="ps-3"> Famille : <span style="font-weight: bold;">${famille  ?? ""}</span> - Mode : <span style="font-weight: bold;">${modeExp  ?? ""} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 3:
                                    //                         return `<tr class="group" style="background : rgb(73, 182, 245, .1)" data-id="ligne3-${numLigne}" data-rupFM='${ruptBF}'>\
                                //                     <td colspan="3" style="font-size : 9pt" class="ps-3 text-muted"> Famille : <span style="font-weight: bold;">${famille  ?? ""}</span> - Mode : <span style="font-weight: bold;">${modeExp  ?? ""} </span></td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3 text-muted"> Nb Ligne : ${nbreLigne} </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3 text-muted"> TxHT : <span id="mntTxHT-${ruptBF}-${rupFM}"> ${(parseInt(TxHT))} </span> </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3 text-muted"> TxTVA : <span id="mntTxTVA-${ruptBF}-${rupFM}"> ${(parseInt(TxTVA))} </span> </td>\
                                //                     <td colspan="26" style="font-size : 9pt" class="ps-3 text-muted"> TxTTC : <span id="mntTxTTC-${ruptBF}-${rupFM}"> ${(parseInt(TxTTC))} </span> </td>\
                                //                 </tr>`
                                    //                         break;
                                    //                     case 4:
                                    //                         return `<tr class="group" style="background : #F3F5F6" data-rupAF='${rupFM}'>\
                                //                     <td colspan="3" style="color: #D3361D; font-size : 9pt" class="ps-3"> Bureau d'achat : <span style="font-weight: bold;">${bureauAchat  ?? ""}</span>  - Fournisseur : <span style="font-weight: bold;">${fournisseur  ?? ""}</span></td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3 text-muted"> Nb Ligne : <span style="font-weight: bold; color: #D3361D"> ${nbreLigne} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3 text-muted"> TxHT : <span style="font-weight: bold; color: #D3361D" id="totalMntTxHT-${ruptBF}-${rupFM}"> ${(parseInt(TxHT))} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3 text-muted"> TxTVA : <span style="font-weight: bold; color: #D3361D" id="totalMntTxTVA-${ruptBF}-${rupFM}"> ${(parseInt(TxTVA))} </span> </td>\
                                //                     <td colspan="1" style="font-size : 9pt" class="ps-3 text-muted"> TxTTC : <span style="font-weight: bold; color: #D3361D" id="totalMntTxTTC-${ruptBF}-${rupFM}"> ${(parseInt(TxTTC))} </span> </td>\
                                //                     <td colspan="2" style="font-size : 9pt" class="ps-3 text-muted"> Mini Fournisseur : <span style="font-weight: bold;"> ${(QteMinFseur)} </span></td>\
                                //                     <td colspan="25" style="font-size : 9pt" class="ps-3 text-muted"> Ecart HT : <span style="font-weight: bold; color: #D3361D"> </span></td>\
                                //                 </tr>`
                                    //                         break;
                                    //                 }
                                    //             }

                                    //         }

                                    //         api.rows().every(function() {

                                    //             let rowData = this.data();
                                    //             // console.log(rowData)
                                    //             let libelleTournee = rowData
                                    //                 .LibelleTournee; // Remplacez 10 par l'index de la colonne souhaitée
                                    //             let HeureDepartTourneeFormat =
                                    //                 rowData
                                    //                 .HeureDepartTourneeFormat

                                    //             let dataUp = ""
                                    //             let dataDown = ""

                                    //             QteMinFseur = rowData
                                    //                 .QuantiteMiniFournisseur

                                    //             if (nbre == 0) {

                                    //                 rupBureauAchatFseur++

                                    //                 rupFamilleExp++

                                    //                 dataUp += selectLine(1,
                                    //                     rowData
                                    //                     .NomBureauAchat,
                                    //                     rowData
                                    //                     .NomFournisseur,
                                    //                     rowData
                                    //                     .LibelleFamilleProduit,
                                    //                     rowData
                                    //                     .LibelleModeExpedition
                                    //                     )
                                    //                 dataUp += selectLine(2,
                                    //                     rowData.NomBureauAchat,
                                    //                     rowData.NomFournisseur,
                                    //                     rowData.LibelleFamilleProduit,
                                    //                     rowData.LibelleModeExpedition
                                    //                     )

                                    //                 oldAchat = rowData
                                    //                     .NomBureauAchat
                                    //                 oldFseur = rowData
                                    //                     .NomFournisseur
                                    //                 oldFamille = rowData
                                    //                     .LibelleFamilleProduit
                                    //                 oldExpedition = rowData
                                    //                     .LibelleModeExpedition

                                    //                 TxHT += parseInt(rowData
                                    //                     .TotalHT)
                                    //                 TxTVA += parseInt(
                                    //                     rowData
                                    //                     .TotalTaxe)
                                    //                 TxTTC += parseInt(
                                    //                     rowData.TotalTTC
                                    //                     )

                                    //                 nbreLigneFamille++
                                    //                 nbreLigneBureau++

                                    //             }

                                    //             if (nbre > 0) {

                                    //                 if (oldAchat != rowData
                                    //                     .NomBureauAchat ||
                                    //                     oldFseur != rowData
                                    //                     .NomFournisseur) {

                                    //                     rupBureauAchatFseur++
                                    //                     rupFamilleExp = 0
                                    //                     rupFamilleExp++

                                    //                     dataUp +=
                                    //                         selectLine(3,
                                    //                             "", "",
                                    //                             oldFamille,
                                    //                             LibelleModeExpedition,
                                    //                             nbreLigneFamille,
                                    //                             rupBureauAchatFseur,
                                    //                             rupFamilleExp,
                                    //                             TxHT, TxTVA,
                                    //                             TxTTC,
                                    //                             rowData
                                    //                             .IDBONLIVRAISONLIGNE
                                    //                             )
                                    //                     dataUp +=
                                    //                         selectLine(4,
                                    //                             oldAchat,
                                    //                             oldFseur,
                                    //                             "",
                                    //                             "",
                                    //                             nbreLigneBureau,
                                    //                             rupBureauAchatFseur,
                                    //                             rupFamilleExp,
                                    //                             TxHTTotal,
                                    //                             TxTVATotal,
                                    //                             TxTTCTotal,
                                    //                             QteMinFseur,
                                    //                             rowData
                                    //                             .IDBONLIVRAISONLIGNE
                                    //                             )


                                    //                     dataUp +=
                                    //                         selectLine(1,
                                    //                             rowData
                                    //                             .NomBureauAchat,
                                    //                             rowData
                                    //                             .NomFournisseur,
                                    //                             "", "")
                                    //                     dataUp +=
                                    //                         selectLine(2,
                                    //                             "", "",
                                    //                             rowData
                                    //                             .LibelleFamilleProduit,
                                    //                             rowData
                                    //                             .LibelleModeExpedition
                                    //                             )

                                    //                     oldAchat = rowData
                                    //                         .NomBureauAchat
                                    //                     oldFseur = rowData
                                    //                         .NomFournisseur
                                    //                     oldFamille = rowData
                                    //                         .LibelleFamilleProduit
                                    //                     oldExpedition =
                                    //                         rowData
                                    //                         .LibelleModeExpedition

                                    //                     nbreLigneBureau = 0
                                    //                     nbreLigneFamille = 0

                                    //                     TxHT = 0
                                    //                     TxTVA = 0
                                    //                     TxTTC = 0

                                    //                     TxHTTotal = 0
                                    //                     TxTVATotal = 0
                                    //                     TxTTCTotal = 0

                                    //                 } else if (oldFamille !=
                                    //                     rowData
                                    //                     .LibelleFamilleProduit ||
                                    //                     oldExpedition !=
                                    //                     rowData
                                    //                     .LibelleModeExpedition
                                    //                     ) {

                                    //                     rupFamilleExp++

                                    //                     dataUp +=
                                    //                         selectLine(3,
                                    //                             "", "",
                                    //                             oldFamille,
                                    //                             LibelleModeExpedition,
                                    //                             nbreLigneFamille,
                                    //                             rupBureauAchatFseur,
                                    //                             rupFamilleExp,
                                    //                             TxHT, TxTVA,
                                    //                             TxTTC,
                                    //                             rowData
                                    //                             .IDBONLIVRAISONLIGNE
                                    //                             )
                                    //                     dataUp +=
                                    //                         selectLine(2,
                                    //                             "", "",
                                    //                             rowData
                                    //                             .LibelleFamilleProduit,
                                    //                             rowData
                                    //                             .LibelleModeExpedition,
                                    //                             nbreLigneBureau,
                                    //                             rupBureauAchatFseur,
                                    //                             rupFamilleExp,
                                    //                             TxHT, TxTVA,
                                    //                             TxTTC)

                                    //                     oldFamille = rowData
                                    //                         .LibelleFamilleProduit
                                    //                     oldExpedition =
                                    //                         rowData
                                    //                         .LibelleModeExpedition

                                    //                     nbreLigneFamille = 0

                                    //                     TxHT = 0
                                    //                     TxTVA = 0
                                    //                     TxTTC = 0

                                    //                 }

                                    //                 nbreLigneFamille =
                                    //                     nbreLigneFamille + 1
                                    //                 nbreLigneBureau =
                                    //                     nbreLigneBureau + 1

                                    //                 TxHT += parseInt(rowData
                                    //                     .TotalHT)
                                    //                 TxTVA += parseInt(
                                    //                     rowData
                                    //                     .TotalTaxe)
                                    //                 TxTTC += parseInt(
                                    //                     rowData.TotalTTC
                                    //                     )
                                    //             }

                                    //             TxHTTotal += parseInt(
                                    //                 rowData.TotalHT)
                                    //             TxTVATotal += parseInt(
                                    //                 rowData.TotalTaxe)
                                    //             TxTTCTotal += parseInt(
                                    //                 rowData.TotalTTC)

                                    //             if (nbre == tailleDonne -
                                    //                 1) {
                                    //                 dataDown += selectLine(
                                    //                     3, "", "",
                                    //                     rowData
                                    //                     .LibelleFamilleProduit,
                                    //                     rowData
                                    //                     .LibelleModeExpedition,
                                    //                     nbreLigneFamille,
                                    //                     rupBureauAchatFseur,
                                    //                     rupFamilleExp,
                                    //                     TxHT,
                                    //                     TxTVA, TxTTC,
                                    //                     rowData
                                    //                     .IDBONLIVRAISONLIGNE
                                    //                     )
                                    //                 dataDown += selectLine(
                                    //                     4, oldAchat,
                                    //                     rowData
                                    //                     .NomFournisseur,
                                    //                     "", "",
                                    //                     nbreLigneBureau,
                                    //                     rupBureauAchatFseur,
                                    //                     rupFamilleExp,
                                    //                     TxHTTotal,
                                    //                     TxTVATotal,
                                    //                     TxTTCTotal,
                                    //                     QteMinFseur,
                                    //                     rowData
                                    //                     .IDBONLIVRAISONLIGNE
                                    //                 )
                                    //             }

                                    //             $(rows).eq(this.index())
                                    //                 .before(dataUp);
                                    //             $(rows).eq(this.index())
                                    //                 .after(dataDown);

                                    //             $(rows).attr(
                                    //                 "data-rupAF-lign",
                                    //                 rupBureauAchatFseur)
                                    //             $(rows).attr(
                                    //                 "data-rupFM-lign",
                                    //                 rupFamilleExp)

                                    //             nbre++

                                    //             totalHT += parseInt(rowData
                                    //                 .TotalHT)
                                    //             totalTVA += parseInt(rowData
                                    //                 .TotalTaxe)
                                    //             totalTTC += parseInt(rowData
                                    //                 .TotalTTC)

                                    //             LibelleFamilleProduit =
                                    //                 rowData
                                    //                 .LibelleFamilleProduit
                                    //             LibelleModeExpedition =
                                    //                 rowData
                                    //                 .LibelleModeExpedition

                                    //         });
                                    //     },
                                    //     createdRow: function(row, data, dataIndex) {
                                    //         // Ajoutez la classe personnalisée aux lignes
                                    //         $(row).attr('data-prod', data.IDPRODUIT); 

                                    //         // Ajoutez la classe personnalisée aux lignes
                                    //         $(row).attr('data-ligne', data.IDCOMMANDELIGNE); 

                                    //         // Ajoutez la classe personnalisée aux lignes
                                    //         $(row).addClass('ligneSelect'); 
                                    //         if (data.IDBONLIVRAISONLIGNE != null) {
                                    //             $('td', row).addClass("text-muted")
                                    //             $(row).removeClass('ligneSelect');
                                    //         }
                                    //     },

                                    // })