Skip to content

added options in VDataTable.json #21395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

diyashrestha1999
Copy link
Contributor

Description

Markup:

@diyashrestha1999 diyashrestha1999 marked this pull request as draft May 9, 2025 10:30
@@ -24,7 +24,8 @@
"locale": "Sets the locale used for sorting. This is passed into [`Intl.Collator()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator) in the default `customSort` function.",
"multiSort": "If `true` then one can sort on multiple properties.",
"mustSort": "If `true` then one can not disable sorting, it will always switch between ascending and descending.",
"page": "The current displayed page number (1-indexed).",
"options": "An object containing all the options that can be used to control the table's state. The interface is:\n\n```typescript\n{\n page: number,\n itemsPerPage: number,\n sortBy: string[],\n sortDesc: boolean[],\n groupBy: string[],\n groupDesc: boolean[],\n multiSort: boolean,\n mustSort: boolean\n}\n```\n\nCan be used with `.sync` modifier.",
"page": "The current displayeddddd page number (1-indexed).",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"page": "The current displayeddddd page number (1-indexed).",
"page": "The current displayed page number (1-indexed).",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants