Answers for "antd table hide column"

0

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()}>
}
Posted by: Guest on February-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language