how to hide column in antd table code example
Example: antd table hide column
classNames: {
show: { display: 'block' },
hide: { display: 'none' }
}
getColumns = () => [
{
title: 'Client Name',
dataIndex: 'clientName',
className: your_check ? "show" : "hide"
}
];
render() {
return <Table columns={this.getColumns()}>
}