Skip to content

Commit

Permalink
Remove misleading documentation paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Mar 29, 2024
1 parent cfc6337 commit e93ab4c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/showcase/doc/treetable/controlleddoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NodeService } from '../../service/nodeservice';
@Component({
selector: 'controlled-doc',
template: ` <app-docsectiontext>
<p>Expansion state is controlled with <i>expandedKeys</i> property. The <i>expandedKeys</i> should be an object whose keys refer to the node key and values represent the expanded state e.g. <i>&#123;'0-0': true&#125;</i>.</p>
<p>Expansion state is controlled with <i>expandedKeys</i> property.</p>
</app-docsectiontext>
<div class="card">
<button (click)="toggleApplications()" pButton label="Toggle Applications"></button>
Expand Down
1 change: 0 additions & 1 deletion src/app/showcase/doc/treetable/selectioncheckboxdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ interface Column {
template: `
<app-docsectiontext>
<p>Selection of multiple nodes via checkboxes is enabled by configuring <i>selectionMode</i> as <i>checkbox</i>.</p>
<p>In checkbox selection mode, value binding should be a key-value pair where key is the node key and value is an object that has checked and partialChecked properties to represent the checked state of a node.</p>
</app-docsectiontext>
<div class="card">
<p-deferred-demo (load)="loadDemoData()">
Expand Down
3 changes: 1 addition & 2 deletions src/app/showcase/doc/treetable/selectionmultipledoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ interface Column {
<app-docsectiontext>
<p>
More than one node is selectable by setting <i>selectionMode</i> to <i>multiple</i>. By default in multiple selection mode, metaKey press (e.g. <i>⌘</i>) is necessary to add to existing selections however this can be configured with
disabling the <i>metaKeySelection</i> property. Note that in touch enabled devices, TreeTable always ignores metaKey. In multiple selection mode, value binding should be a key-value pair where key is the node key and value is a
boolean to indicate selection.
disabling the <i>metaKeySelection</i> property. Note that in touch enabled devices, TreeTable always ignores metaKey.
</p>
</app-docsectiontext>
<div class="card">
Expand Down

0 comments on commit e93ab4c

Please sign in to comment.