File tree Expand file tree Collapse file tree 6 files changed +7
-5
lines changed
Expand file tree Collapse file tree 6 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ var Canvas = React.createClass({
6565 position : 'absolute' ,
6666 top : 0 ,
6767 left : 0 ,
68- overflowX : 'auto' ,
69- overflowY : 'scroll' ,
68+ // overflowX: 'auto',
69+ // overflowY: 'scroll',
7070 width : this . props . totalWidth ,
7171 height : this . props . height ,
7272 transform : 'translate3d(0, 0, 0)'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ var Cell = React.createClass({
3737 renderCellContent ( props ) {
3838 var formatter = React . isValidElement ( this . props . formatter ) ? cloneWithProps ( this . props . formatter , props ) : this . props . formatter ( props ) ;
3939 return ( < div
40- className = "react-grid-Cell__value" > { formatter } { this . props . cellControls } </ div > )
40+ className = "react-grid-Cell__value" title = { this . props . value } > { formatter } { this . props . cellControls } </ div > )
4141
4242 } ,
4343
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ var HeaderCell = React.createClass({
122122} ) ;
123123
124124function simpleCellRenderer ( props ) {
125- return < div className = "rex-widget-HeaderCell__value" > { props . column . name } </ div > ;
125+ return < div className = "rex-widget-HeaderCell__value" title = { props . column . name } > { props . column . name } </ div > ;
126126}
127127
128128module . exports = HeaderCell ;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ var Viewport = React.createClass({
119119 bottom : 0 ,
120120 left : 0 ,
121121 right : 0 ,
122- overflow : 'hidden' ,
122+ // overflow: 'hidden',
123123 position : 'absolute' ,
124124 top : this . props . rowOffsetHeight
125125 } ;
Original file line number Diff line number Diff line change 6262}
6363
6464.react-grid-Grid {
65+ overflow : scroll;
6566 background-color : # ffffff ;
6667 border : 1px solid # dddddd ;
6768}
Original file line number Diff line number Diff line change 33@react-grid-scrollbar-color : @gray-light ;
44
55.react-grid-Grid {
6+ overflow : scroll ;
67 background-color : @body-bg ;
78 border : 1px solid @table-border-color ;
89}
You can’t perform that action at this time.
0 commit comments