1、想要去掉table組件的分頁功能,要加上pagination={false}
<Table pagination={false} />
2、想要在table上加上滾動條,則在組件中加上
style={{overflow: 'auto'}}
或者
scroll={{x:120,y:240}}
x、y分別爲橫向、縱向的滾動條
1、想要去掉table組件的分頁功能,要加上pagination={false}
<Table pagination={false} />
2、想要在table上加上滾動條,則在組件中加上
style={{overflow: 'auto'}}
或者
scroll={{x:120,y:240}}
x、y分別爲橫向、縱向的滾動條
根據官方文檔介紹 ,排序是在Column上面添加的。 這裏就寫個簡單的例子(只有表頭部分,一看就會) const columns = [ { title: '漢字',
disabledDate = (current: any) => { const {currentData} = this.state console.log("currentcurren