column(number).visible(true/false) animation effect

column(number).visible(true/false) animation effect

rahulpprahulpp Posts: 6Questions: 1Answers: 0

Hey there..

I am using DataTables 1.10.x. I am using column().visible() API to hide and show required columns. Basically I am hiding first column and appending one column to last (LIFO) or FILO on slider arrow clicks..

Is there any way to add sliding effect instead of popping up columns out of nowhere? Just thinking loud.

I tried looking in source code but I am not sure if I am allowed to edit the source.

Replies

  • allanallan Posts: 54,743Questions: 1Answers: 8,566 Site admin

    I am not sure if I am allowed to edit the source.

    Help yourself. DataTables is available under the MIT license.

    I suspect animating the column visibility will be quite difficult though.

    Allan

  • rahulpprahulpp Posts: 6Questions: 1Answers: 0

    ^ True that, I checked code, I don't wanna edit base library. I will try creating prototype though.

This discussion has been closed.