Skip to content

Commit

Permalink
Fixed #980 - Typings missing in DataTable: resetColumnOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Aug 27, 2019
1 parent e3e2ac0 commit 7ec12fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/datatable/DataTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ interface DataTableProps {
export class DataTable extends React.Component<DataTableProps,any> {
public exportCSV():void;
public filter<T>(value:T, field:string, mode:string):void;
public resetColumnOrder():void;
}
5 changes: 5 additions & 0 deletions src/showcase/datatable/DataTableDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2212,6 +2212,11 @@ export class DataTableStateDemo extends Component {
<td>-</td>
<td>Closes the current editing cell when incell editing is enabled.</td>
</tr>
<tr>
<td>resetColumnOrder</td>
<td>-</td>
<td>Resets column order when reorderableColumns is enabled.</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 7ec12fa

Please sign in to comment.