maca88 / datatables.plugins

MIT License
21 stars 5 forks source link

Is it possible to make unpin put back column in its original place? #9

Closed marianopeck closed 10 years ago

marianopeck commented 10 years ago

Hi,

When I pin a column, it goes either to the left or to the right. Is it possible that when I "unpin" one of these columns it goes back to its original position rather than staying in the new (either left or right) place?

thanks!

maca88 commented 10 years ago

I'll rewrite the logic for unpinning colums to make this possible.

maca88 commented 10 years ago

Done :) ... HERE is your example with ColPin and ColResize enabled.

marianopeck commented 10 years ago

Very cool! Thanks! It worked nicely.