File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ module.exports = createReactClass({
3535 eventBus : new Emitter ,
3636 compact : false ,
3737 excludeSummaryFromExport : false ,
38- onData : function ( ) { }
38+ onData : function ( ) { } ,
39+ soloText : "solo"
3940 }
4041 } ,
4142
@@ -162,8 +163,9 @@ module.exports = createReactClass({
162163 onSort = { this . setSort }
163164 onColumnHide = { this . hideColumn }
164165 nPaginateRows = { this . props . nPaginateRows }
165- onSolo = { this . setSolo } />
166-
166+ onSolo = { this . setSolo }
167+ soloText = { this . props . soloText }
168+ />
167169 </ div >
168170 )
169171
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ module.exports = createReactClass({
1414 sortDir : 'asc' ,
1515 onSort : function ( ) { } ,
1616 onSolo : function ( ) { } ,
17- onColumnHide : function ( ) { }
17+ onColumnHide : function ( ) { } ,
18+ soloText : "solo"
1819 }
1920 } ,
2021
@@ -120,7 +121,7 @@ module.exports = createReactClass({
120121 onClick = { partial ( this . props . onSolo , {
121122 title : col . title ,
122123 value : val
123- } ) } > solo </ a >
124+ } ) } > { this . props . soloText } </ a >
124125 </ span >
125126 )
126127 }
You can’t perform that action at this time.
0 commit comments