本篇文章為大家展示了Antd中Table表頭如何實現(xiàn)加Icon,內(nèi)容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。
對于Antd Table組件的columns數(shù)組來說,它需要接受2個屬性(filterDropdown,filterIcon)才能在表頭某個屬性旁展示圖標Icon:
columns: [{ title: '表達式', dataIndex: 'formulaTenderAmount', key: 'formulaTenderAmount', width: 150, placeholder: '請輸入表達式', filterDropdown: (<div></div>), filterIcon: <Tooltip placement="top" title="氣泡懸浮提示文本" > <Icon type='question-circle-o' style={{ marginLeft: 1 }} /> </Tooltip>, },{ title: '操作', dataIndex: 'operation', key: 'operation', width: 305, fixed: 'right', }, ],
網(wǎng)站欄目:Antd中Table表頭如何實現(xiàn)加Icon-創(chuàng)新互聯(lián)
網(wǎng)站URL:http://jinyejixie.com/article36/coidsg.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供Google、全網(wǎng)營銷推廣、網(wǎng)站設計公司、標簽優(yōu)化、電子商務、域名注冊
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容