I am using ColReorder to to reorder columns. I have also enabled a modal dialog for column selection (ColVis did not work well for the UI I needed.) I can reorder the columns without any problem. I can also add and remove columns without any problem (by calling fnSetColumnVis) I can also reorder after adding and removing.
However, if I try to add and remove columns after reordering, the mRender function does not seem to get called.
The fiddle shows the behavior. The first few columns have mRender functions set. If you attempt to add or remove any column after rearranging, the custom rendering goes away from all columns.
http://jsfiddle.net/sEXbs/6/
However, if I try to add and remove columns after reordering, the mRender function does not seem to get called.
The fiddle shows the behavior. The first few columns have mRender functions set. If you attempt to add or remove any column after rearranging, the custom rendering goes away from all columns.
http://jsfiddle.net/sEXbs/6/