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

[FR] add "index" column #127

Open
ildar170975 opened this issue Jan 5, 2024 · 0 comments
Open

[FR] add "index" column #127

ildar170975 opened this issue Jan 5, 2024 · 0 comments

Comments

@ildar170975
Copy link
Contributor

ildar170975 commented Jan 5, 2024

Consider this config:

- name: some index
  data: _index
  start_from: 1

which creates:
image

Here:
_index - a directive to use an incrementing index (starting from start_from)
start_from - first value of the index (default 1)

This column cannot be selected for sorting. Also, sorting by a header is disabled for this column.
Values of the index are always incrementing.

A column with _index may be placed as the 1st, 2nd, ... whatever.
Also, imho there is no need to limit a number of these columns in a config (although a user may need only one).

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

No branches or pull requests

1 participant