mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
DataTable CSS and responsive structure improvements (#3684)
* DataTable CSS and responsive structure improvements Fixed #3682 and #3683 * Update DataTable.vue
This commit is contained in:
parent
2f4afc71be
commit
16833178f1
5 changed files with 348 additions and 212 deletions
25
components/virtualscroller/VirtualScroller.d.ts
vendored
25
components/virtualscroller/VirtualScroller.d.ts
vendored
|
@ -128,6 +128,11 @@ export interface VirtualScrollerProps {
|
|||
* Default value is 0.
|
||||
*/
|
||||
delay?: number | undefined;
|
||||
/**
|
||||
* Delay after window's resize finishes.
|
||||
* @defaultValue 10
|
||||
*/
|
||||
resizeDelay?: number | undefined;
|
||||
/**
|
||||
* Defines if data is loaded and interacted with in lazy manner.
|
||||
*/
|
||||
|
@ -163,6 +168,26 @@ export interface VirtualScrollerProps {
|
|||
* Default value is 0.
|
||||
*/
|
||||
tabindex?: number | string | undefined;
|
||||
/**
|
||||
* When enabled, positions the content as inline.
|
||||
* @defaultValue false
|
||||
*/
|
||||
inline?: boolean | undefined;
|
||||
/**
|
||||
* Used to specify how many items to load in each load method in lazy mode.
|
||||
* @defaultValue 0
|
||||
*/
|
||||
step?: number | undefined;
|
||||
/**
|
||||
* Used to append each loaded item to top without removing any items from the DOM. Using very large data may cause the browser to crash.
|
||||
* @defaultValue false
|
||||
*/
|
||||
appendOnly?: boolean | undefined;
|
||||
/**
|
||||
* Whether to dynamically change the height or width of scrollable container.
|
||||
* @defaultValue false
|
||||
*/
|
||||
autoSize?: boolean | undefined;
|
||||
}
|
||||
|
||||
export interface VirtualScrollerSlots {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue