-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1859 from swimlane/chore/deps
Chore/deps
- Loading branch information
Showing
101 changed files
with
634 additions
and
473 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# Summary | ||
|
||
* [Introduction](README.md) | ||
* [Features](introduction/features.md) | ||
* [Architecture](introduction/architecture.md) | ||
* [Installing](introduction/installing.md) | ||
* [Themeing](introduction/themes.md) | ||
* [Getting Started](introduction/getting-started.md) | ||
* [Change Detection](introduction/cd.md) | ||
* API | ||
* Table | ||
* [Inputs](api/table/inputs.md) | ||
* [Outputs](api/table/outputs.md) | ||
* [Methods](api/table/methods.md) | ||
* [Internals](api/table/internals.md) | ||
* Column | ||
* [Inputs](api/column/inputs.md) | ||
* [Modes](api/column/modes.md) | ||
* [Internals](api/column/internals.md) | ||
* Row Detail | ||
* [Inputs](api/detail/inputs.md) | ||
* [Outputs](api/detail/outputs.md) | ||
* Demos | ||
* [Online](http://swimlane.github.io/ngx-datatable/) | ||
* [Source Code](https://github.com/swimlane/ngx-datatable/tree/master/src/app) | ||
* Contributing | ||
* [Building](contributing/building.md) | ||
* [Guidelines](contributing/guidelines.md) | ||
* [Community](contributing/community.md) | ||
* [Credits](contributing/credits.md) | ||
* [Changelog](changelog.md) | ||
- [Introduction](README.md) | ||
- [Features](introduction/features.md) | ||
- [Architecture](introduction/architecture.md) | ||
- [Installing](introduction/installing.md) | ||
- [Themeing](introduction/themes.md) | ||
- [Getting Started](introduction/getting-started.md) | ||
- [Change Detection](introduction/cd.md) | ||
- API | ||
- Table | ||
- [Inputs](api/table/inputs.md) | ||
- [Outputs](api/table/outputs.md) | ||
- [Methods](api/table/methods.md) | ||
- [Internals](api/table/internals.md) | ||
- Column | ||
- [Inputs](api/column/inputs.md) | ||
- [Modes](api/column/modes.md) | ||
- [Internals](api/column/internals.md) | ||
- Row Detail | ||
- [Inputs](api/detail/inputs.md) | ||
- [Outputs](api/detail/outputs.md) | ||
- Demos | ||
- [Online](http://swimlane.github.io/ngx-datatable/) | ||
- [Source Code](https://github.com/swimlane/ngx-datatable/tree/master/src/app) | ||
- Contributing | ||
- [Building](contributing/building.md) | ||
- [Guidelines](contributing/guidelines.md) | ||
- [Community](contributing/community.md) | ||
- [Credits](contributing/credits.md) | ||
- [Changelog](changelog.md) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,92 @@ | ||
# Table Column Options | ||
|
||
### `name`: `string` | ||
|
||
Column label. If none specified, it will use the prop value and decamelize it. | ||
|
||
### `prop`: `string` | ||
|
||
The property to bind the row values to. If `undefined`, it will camelcase the name value. | ||
|
||
### `flexGrow`: `number` | ||
The grow factor relative to other columns. Same as the [flex-grow API](https://www.w3.org/TR/css3-flexbox/). | ||
|
||
The grow factor relative to other columns. Same as the [flex-grow API](https://www.w3.org/TR/css3-flexbox/). | ||
It will any available extra width and distribute it proportionally according to all columns' flexGrow values. Default value: `0` | ||
|
||
### `minWidth`: `number` | ||
|
||
Minimum width of the column in pixels. Default value: `100` | ||
|
||
### `maxWidth`: `number` | ||
|
||
Maximum width of the column in pixels. Default value: `undefined` | ||
|
||
### `width`: `number` | ||
|
||
The width of the column by default in pixels. Default value: `150` | ||
|
||
### `resizeable`: `boolean` | ||
|
||
The column can be resized manually by the user. Default value: `true` | ||
|
||
### `comparator` | ||
|
||
Custom sort comparator, used to apply custom sorting via client-side. | ||
Function receives five parameters, namely values and rows of items to be sorted as well as direction of the sort ('asc'|'desc'): | ||
|
||
``` | ||
(valueA, valueB, rowA, rowB, sortDirection) => -1|0|1 | ||
``` | ||
|
||
NOTE: Compare can be a standard JS comparison function (a,b) => -1|0|1 as additional parameters are silently ignored. | ||
See [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) for more info. | ||
|
||
### `sortable`: `boolean` | ||
|
||
Sorting of the row values by this column. Default value: `true` | ||
|
||
### `draggable`: `boolean` | ||
|
||
The column can be dragged to re-order. Default value: `true` | ||
|
||
### `canAutoResize`: `boolean` | ||
|
||
Whether the column can automatically resize to fill extra space. Default value: `true` | ||
|
||
### `cellTemplate`: `TemplateRef` | ||
|
||
Angular TemplateRef allowing you to author custom body cell templates | ||
|
||
### `headerTemplate`: `TemplateRef` | ||
|
||
Angular TemplateRef allowing you to author custom header cell templates | ||
|
||
### `checkboxable`: `boolean` | ||
|
||
Indicates whether the column should show a checkbox component for selection. Only | ||
applicable when the selection mode is `checkbox`. | ||
|
||
### `headerCheckboxable`: `boolean` | ||
|
||
Indicates whether the column should show a checkbox component in the header cell. | ||
Only applicable when the selection mode is `checkbox`. | ||
|
||
### `headerClass`: `string|Function` | ||
|
||
Header CSS classes to apply to the header cell | ||
|
||
### `cellClass`: `string|Function` | ||
|
||
Cell classes to apply to the body cell | ||
|
||
### `frozenLeft`: `boolean` | ||
|
||
Determines if the column is frozen to the left. Default value: `false` | ||
|
||
### `frozenRight`: `boolean` | ||
|
||
Determines if the column is frozen to the right. Default value: `false` | ||
|
||
### `pipe`: `PipeTransform` | ||
|
||
Custom pipe transforms. Default value: `undefined` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Column Internals | ||
|
||
## Ids | ||
|
||
Each row is decorated with a `$$id` attribute. This allows us to track the column | ||
for faster change detection/etc. |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
## Row Detail Methods | ||
|
||
### `collapseAllRows()` | ||
|
||
Collapse all row details when using row detail templates. | ||
|
||
### `expandAllRows()` | ||
|
||
Expand all row details when using row detail templates. | ||
|
||
### `toggleExpandRow(row)` | ||
Toggle expand/collapse a row detail when using row detail templates. | ||
|
||
Toggle expand/collapse a row detail when using row detail templates. |
Oops, something went wrong.