I have a jQuery datatables implemented and it's working just fine. However, based on a user role, I would like to hide a column. To fix this, in Rails, I can set the conditional within a view/template. But that doesn't' work because on each request I get an alert telling me about for how many rows data is missing to be pulled into. Any ideas as to how to fix this? Much appreciated.
Alek
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):