Skip to content

Commit

Permalink
add api.getComputedColumnById and release version patch
Browse files Browse the repository at this point in the history
  • Loading branch information
radubrehar committed Oct 16, 2023
1 parent 1a94a1b commit edfc02b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/src/components/InfiniteTable/api/getImperativeApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ class InfiniteTableApiImpl<T> implements InfiniteTableApi<T> {
return this.getComputed().computedColumnOrder;
};

getComputedColumnById = (columnId: string) => {
return this.getComputed().computedColumnsMap.get(columnId);
};

getVisibleColumnOrder = () => {
const order = this.getColumnOrder();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export interface InfiniteTableApi<T> {
realignColumnContextMenu: () => void;
getColumnOrder: () => string[];
getVisibleColumnOrder: () => string[];
getComputedColumnById: (colId: string) => InfiniteTableColumn<T> | undefined;

isEditorVisibleForCell(params: {
rowIndex: number;
Expand Down
4 changes: 4 additions & 0 deletions www/content/docs/releases/index.page.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: Releases
description: All releases | Infinite Table DataGrid for React
---

## 3.0.7

@milestone id="100"

## 3.0.4

@milestone id="99"
Expand Down

0 comments on commit edfc02b

Please sign in to comment.