title: Enable/Disable columns in dataTable PrimeFaces
body: <p>I have created one dataTable in page and shown some columns but I want to show only those columns which have entries ( if any column doesn't have record then it should not be displayed on the page.) . Anyone please tell me how should I put validation on this and display table.</p>