pull/5110/head
tugcekucukoglu 2024-01-18 16:11:07 +03:00
parent 19f9813d16
commit 3d43ab506f
6 changed files with 33 additions and 0 deletions

View File

@ -366,6 +366,12 @@ const DataTableProps = [
default: 'false',
description: 'Whether to displays rows with alternating colors.'
},
{
name: 'highlightOnSelect',
type: 'boolean',
default: 'false',
description: 'Highlights automatically the first item.'
},
{
name: 'size',
type: 'string',

View File

@ -245,6 +245,12 @@ const MultiSelectProps = [
default: 'false',
description: 'Whether to focus on the filter element when the overlay panel is shown.'
},
{
name: 'highlightOnSelect',
type: 'boolean',
default: 'false',
description: 'Highlights automatically the first item.'
},
{
name: 'filterMessage',
type: 'string',

View File

@ -72,6 +72,12 @@ const TreeProps = [
default: 'undefined',
description: "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
name: 'highlightOnSelect',
type: 'boolean',
default: 'false',
description: 'Highlights automatically the first item.'
},
{
name: 'scrollHeight',
type: 'string',

View File

@ -1105,6 +1105,11 @@ export interface DataTableProps {
* @defaultValue false
*/
stripedRows?: boolean | undefined;
/**
* Highlights automatically the first item.
* @defaultValue false
*/
highlightOnSelect?: boolean | undefined;
/**
* Defines the size of the table.
*/

View File

@ -478,6 +478,11 @@ export interface MultiSelectProps {
* @defaultValue false
*/
autoFilterFocus?: boolean | undefined;
/**
* Highlights automatically the first item.
* @defaultValue false
*/
highlightOnSelect?: boolean | undefined;
/**
* Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.
* @defaultValue '{0} results are available'

View File

@ -271,6 +271,11 @@ export interface TreeProps {
* Locale to use in filtering. The default locale is the host environment's current locale.
*/
filterLocale?: string | undefined;
/**
* Highlights automatically the first item.
* @defaultValue false
*/
highlightOnSelect?: boolean | undefined;
/**
* Height of the scroll viewport in fixed units or the 'flex' keyword for a dynamic size.
*/