We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6811977 commit ce3a061Copy full SHA for ce3a061
components/data-table/__examples__/advanced-single-select-fixed-header.jsx
@@ -131,12 +131,12 @@ class Example extends React.Component {
131
selectRows="radio"
132
>
133
<DataTableColumn
134
- isSorted={false}
+ isSorted={this.state.sortColumn === 'opportunityName'}
135
label="Name"
136
primaryColumn
137
property="opportunityName"
138
sortable
139
- sortDirection={null}
+ sortDirection={this.state.sortColumnDirection.opportunityName}
140
width="10rem"
141
142
<CustomDataTableCell />
0 commit comments