亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Table fixed tail row, has anyone written it?
歐陽克
歐陽克 2017-06-30 09:59:29
0
4
1157

Now there is a requirement. The last row of the table is the total. The total should be fixed at the bottom of the table. Has anyone implemented it?

歐陽克
歐陽克

溫故而知新,可以為師矣。 博客:www.ouyangke.com

reply all(4)
世界只因有你

position: fixed;
bottom: 0;

學霸

You are using elementui, just set show-summary to true. You can take a look at elementUI’s official website

洪濤

If you write it yourself
1. First get the first row of tr (non-title), and make the width of each td into an array
2. Get the last row of tr, change the position to fixed, set the position, and then add the td of the last row Fixed width, corresponding to the td of the first row

學習ing

Have you tried the pseudo-class last-child?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template