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', default: 'false',
description: 'Whether to displays rows with alternating colors.' description: 'Whether to displays rows with alternating colors.'
}, },
{
name: 'highlightOnSelect',
type: 'boolean',
default: 'false',
description: 'Highlights automatically the first item.'
},
{ {
name: 'size', name: 'size',
type: 'string', type: 'string',

View File

@ -245,6 +245,12 @@ const MultiSelectProps = [
default: 'false', default: 'false',
description: 'Whether to focus on the filter element when the overlay panel is shown.' 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', name: 'filterMessage',
type: 'string', type: 'string',

View File

@ -72,6 +72,12 @@ const TreeProps = [
default: 'undefined', default: 'undefined',
description: "Locale to use in filtering. The default locale is the host environment's current locale." 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', name: 'scrollHeight',
type: 'string', type: 'string',

View File

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

View File

@ -478,6 +478,11 @@ export interface MultiSelectProps {
* @defaultValue false * @defaultValue false
*/ */
autoFilterFocus?: boolean | undefined; 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. * 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' * @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. * Locale to use in filtering. The default locale is the host environment's current locale.
*/ */
filterLocale?: string | undefined; 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. * Height of the scroll viewport in fixed units or the 'flex' keyword for a dynamic size.
*/ */