@@ -4,18 +4,18 @@ import Table from 'rc-table';
44import '../../assets/index.less' ;
55
66const columns : TableProps [ 'columns' ] = [
7- { title : 'title1' , dataIndex : 'a' , key : 'a' , width : 100 } ,
7+ { title : 'title1' , dataIndex : 'a' , key : 'a' , width : 100 , fixed : 'start' } ,
88 { title : 'title2' , dataIndex : 'b' , key : 'b' , width : 100 } ,
9- { title : 'title3' , dataIndex : 'c' , key : 'c' , width : 100 } ,
9+ { title : 'title3' , dataIndex : 'c' , key : 'c' , width : 100 , fixed : 'start' } ,
1010 { title : 'title4' , dataIndex : 'b' , key : 'd' , width : 100 } ,
1111 { title : 'title5' , dataIndex : 'b' , key : 'e' , width : 100 } ,
1212 { title : 'title6' , dataIndex : 'b' , key : 'f' , width : 100 } ,
1313 { title : 'title7' , dataIndex : 'b' , key : 'g' , width : 100 } ,
1414 { title : 'title8' , dataIndex : 'b' , key : 'h' , width : 100 } ,
1515 { title : 'title9' , dataIndex : 'b' , key : 'i' , width : 100 } ,
16- { title : 'title10' , dataIndex : 'b' , key : 'j' , width : 100 } ,
16+ { title : 'title10' , dataIndex : 'b' , key : 'j' , width : 100 , fixed : 'end' } ,
1717 { title : 'title11' , dataIndex : 'b' , key : 'k' , width : 100 } ,
18- { title : 'title12' , dataIndex : 'b' , key : 'l' , width : 100 } ,
18+ { title : 'title12' , dataIndex : 'b' , key : 'l' , width : 100 , fixed : 'end' } ,
1919] ;
2020
2121const data = [
0 commit comments