This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExpandRow extends React.Component { | |
constructor(props) { | |
super(props); | |
} | |
isExpandableRow(row) { | |
if (row.id < 3) return true; | |
else return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExpandRow extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
// Default expanding row | |
expanding: [ 2 ] | |
}; | |
} | |
isExpandableRow() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExpandRow extends React.Component { | |
constructor(props) { | |
super(props); | |
} | |
isExpandableRow(row) { | |
if (row.id < 3) return true; | |
else return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExpandRow extends React.Component { | |
constructor(props) { | |
super(props); | |
} | |
isExpandableRow(row) { | |
if (row.id < 2) return true; | |
else return false; | |
} |