From 8bb7f193751241bf39bc3844ba1c8ed9adde6415 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 17 Jan 2022 13:12:39 +0300 Subject: [PATCH] Refactor #2582 --- components/doc/treetable/index.js | 6 ++++++ components/lib/treetable/TreeTable.css | 1 + 2 files changed, 7 insertions(+) diff --git a/components/doc/treetable/index.js b/components/doc/treetable/index.js index 8635f68dab..fb606af96e 100644 --- a/components/doc/treetable/index.js +++ b/components/doc/treetable/index.js @@ -2433,6 +2433,12 @@ export const TreeTableResponsiveDemo = () => { No records found Text to display when there is no data. + + rowHover + boolean + false + When enabled, background of the rows change on hover. + showGridlines boolean diff --git a/components/lib/treetable/TreeTable.css b/components/lib/treetable/TreeTable.css index e9daef7529..3dc90e2a09 100644 --- a/components/lib/treetable/TreeTable.css +++ b/components/lib/treetable/TreeTable.css @@ -21,6 +21,7 @@ table-layout: auto; } +.p-treetable-selectable .p-treetable-tbody > tr, .p-treetable-hoverable-rows .p-treetable-tbody > tr { cursor: pointer; }