Why would you ever need to go server side when you re-order columns or hide/show columns?!
Why would you ever need to go server side when you re-order columns or hide/show columns?!
So I've noticed that when you turn on "bServerSide" = true, the two plugins ColVis and ColReorder will always do an AJAX request.
Why is that even necessary? The reordering or hiding/showing of columns doesn't affect the data - you should able to keep this client-side (and therefore fast for a preferable UI experience).
Even if there is a reason (which possibly sounds to me as an edge case) then perhaps an option to go server side or not for both plugins would be nice!
Any thoughts?
James
Why is that even necessary? The reordering or hiding/showing of columns doesn't affect the data - you should able to keep this client-side (and therefore fast for a preferable UI experience).
Even if there is a reason (which possibly sounds to me as an edge case) then perhaps an option to go server side or not for both plugins would be nice!
Any thoughts?
James
This discussion has been closed.
Replies
It would indeed be possible to manipulate the DOM to rearrange columns as needed, and do whatever recalculation is needed, but it would take a good bit of development effort to do. Unfortunately this is a tradeoff I've made at the moment to be able to push on with other development. This is certainly something to be looked at in future though, or for someone to contribute a patch for :-)
Allan