Skip to content

Commit

Permalink
Merge branch 'main' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Jul 27, 2024
2 parents 80d074d + 5f7ddd6 commit 3fd57d7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/api/features/row-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ getIsSomeRowsSelected: () => boolean
Returns whether or not any rows in the table are selected.
NOTE: Returns `false` if all rows are selected.
### `getIsSomePageRowsSelected`
```tsx
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/angular/guide/table-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import {combineLatest, switchMap} from 'rxjs';

class TableComponent {
readonly columnFilters = signal<ColumnFiltersState>([]) //no default filters
readonly sorting = signal<SortingState[]>([
readonly sorting = signal<SortingState>([
{
id: 'age',
desc: true, //sort by age in descending order by default
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ There are dozens of Column APIs that you can use to interact with the table stat

### Column Rendering

Don't necessarily use `column` objects to render `headers` or `cells` directly. Instead, use the [`header](../headers) and [`cell`](../cells) objects, as discussed above.
Don't necessarily use `column` objects to render `headers` or `cells` directly. Instead, use the [`header`](../headers) and [`cell`](../cells) objects, as discussed above.

But if you are just rendering a list of columns somewhere else in your UI for something like a column visibility menu or something similar, you can just map over a columns array and render out the UI as you normally would.
But if you are just rendering a list of columns somewhere else in your UI for something like a column visibility menu or something similar, you can just map over a columns array and render out the UI as you normally would.
1 change: 0 additions & 1 deletion packages/match-sorter-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export type Ranking = (typeof rankings)[keyof typeof rankings]
/**
* Gets the highest ranking for value for the given item based on its values for the given keys
* @param {*} item - the item to rank
* @param {Array} keys - the keys to get values from the item for the ranking
* @param {String} value - the value to rank against
* @param {Object} options - options to control the ranking
* @return {{rank: Number, accessorIndex: Number, accessorThreshold: Number}} - the highest ranking
Expand Down

0 comments on commit 3fd57d7

Please sign in to comment.