From e93ab4cc9d285230a16b8a60e6520288fa15082e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Fri, 29 Mar 2024 16:21:23 +0300 Subject: [PATCH] Remove misleading documentation paragraphs --- src/app/showcase/doc/treetable/controlleddoc.ts | 2 +- src/app/showcase/doc/treetable/selectioncheckboxdoc.ts | 1 - src/app/showcase/doc/treetable/selectionmultipledoc.ts | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/showcase/doc/treetable/controlleddoc.ts b/src/app/showcase/doc/treetable/controlleddoc.ts index 4c5e10cadc5..f5d5613827d 100644 --- a/src/app/showcase/doc/treetable/controlleddoc.ts +++ b/src/app/showcase/doc/treetable/controlleddoc.ts @@ -6,7 +6,7 @@ import { NodeService } from '../../service/nodeservice'; @Component({ selector: 'controlled-doc', template: ` -

Expansion state is controlled with expandedKeys property. The expandedKeys should be an object whose keys refer to the node key and values represent the expanded state e.g. {'0-0': true}.

+

Expansion state is controlled with expandedKeys property.

diff --git a/src/app/showcase/doc/treetable/selectioncheckboxdoc.ts b/src/app/showcase/doc/treetable/selectioncheckboxdoc.ts index 5d8f7ebf83b..979d64f2d40 100644 --- a/src/app/showcase/doc/treetable/selectioncheckboxdoc.ts +++ b/src/app/showcase/doc/treetable/selectioncheckboxdoc.ts @@ -13,7 +13,6 @@ interface Column { template: `

Selection of multiple nodes via checkboxes is enabled by configuring selectionMode as checkbox.

-

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.

diff --git a/src/app/showcase/doc/treetable/selectionmultipledoc.ts b/src/app/showcase/doc/treetable/selectionmultipledoc.ts index d5a7ce56613..76ca3b5d958 100644 --- a/src/app/showcase/doc/treetable/selectionmultipledoc.ts +++ b/src/app/showcase/doc/treetable/selectionmultipledoc.ts @@ -14,8 +14,7 @@ interface Column {

More than one node is selectable by setting selectionMode to multiple. By default in multiple selection mode, metaKey press (e.g. ) is necessary to add to existing selections however this can be configured with - disabling the metaKeySelection 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 metaKeySelection property. Note that in touch enabled devices, TreeTable always ignores metaKey.