how can i hide and show the last row ?

how can i hide and show the last row ?

zero_coolzero_cool Posts: 1Questions: 1Answers: 0

hi , i try ti hide /show the last row by call some function.. that what i do :smile:

 for(var i=0 ;i < oTable.fnGetData().length ;i ++){
                if (oTable.fnGetData(i)[2].includes("somthing")) {
                    oTable.fnGetData(i)[2].hide();
                   
                }
            }

how can i do it right?
tnx!

This discussion has been closed.