Skip to content
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

[Table] When pageSize is set, offer a startPage or similar functionality to display a specific row / page on load, and a readOnly currentPage property #8913

Open
2 of 6 tasks
macandcheese opened this issue Mar 8, 2024 · 1 comment
Labels
0 - new New issues that need assignment. blocked This issue is blocked by another issue. c-table Issues that pertain to the calcite-table and related components Calcite (design) Issues logged by Calcite designers. calcite-components Issues specific to the @esri/calcite-components package. enhancement Issues tied to a new feature or request. estimate - 5 A few days of work, definitely requires updates to tests. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library

Comments

@macandcheese
Copy link
Contributor

macandcheese commented Mar 8, 2024

Check existing issues

Description

The Table component has built-in pagination, which users can enable with pageSize property. However, there is no method to default to a page at load (or to change programmatically after the fact)

We should also add a readOnly current page property.

Acceptance Criteria

A property is added - startPage, startRow, etc., that, when provided, displays the requested page at load, instead of starting at row / page 1. This may also be also useful for changing the visible page programmatically.

Relevant Info

No response

Which Component

Table

Example Use Case

As an app designer / developer, I want to load the Table to a certain page at load, or programmatically at a time after load.

Priority impact

impact - p3 - not time sensitive

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

@macandcheese macandcheese added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Mar 8, 2024
@github-actions github-actions bot added impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive calcite-components Issues specific to the @esri/calcite-components package. Calcite (design) Issues logged by Calcite designers. labels Mar 8, 2024
@macandcheese macandcheese added the c-table Issues that pertain to the calcite-table and related components label Mar 8, 2024
@macandcheese macandcheese changed the title [Table] When pageSize is set, offer a startPage or similar functionality to display a specific row / page on load [Table] When pageSize is set, offer a startPage or similar functionality to display a specific row / page on load, and a readOnly currentPage property Jun 6, 2024
@geospatialem geospatialem added p - low Issue is non core or affecting less that 10% of people using the library estimate - 5 A few days of work, definitely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. and removed needs triage Planning workflow - pending design/dev review. labels Aug 27, 2024
@geospatialem geospatialem removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Sep 10, 2024
@macandcheese
Copy link
Contributor Author

Blocked by #6646

@geospatialem geospatialem added the blocked This issue is blocked by another issue. label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. blocked This issue is blocked by another issue. c-table Issues that pertain to the calcite-table and related components Calcite (design) Issues logged by Calcite designers. calcite-components Issues specific to the @esri/calcite-components package. enhancement Issues tied to a new feature or request. estimate - 5 A few days of work, definitely requires updates to tests. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library
Projects
None yet
Development

No branches or pull requests

2 participants