Skip to content

Conversation

@ToxicMushroom
Copy link

This change adds an option column_index_type to switch the current default usize column indexes to a generated enum.

  • Omitting this annotation tells the code to fill in usize into the generic, essentially keeping all previous behaviour.
  • Providing this option with a string != "usize" causes an enum to be generated and used.

(I dislike this current config type, I wanted to use an enum first but this crate can't export that).

This pr serves as a progress tracker currently.

@maccesch
Copy link
Contributor

looking good!

@ToxicMushroom ToxicMushroom marked this pull request as ready for review December 29, 2025 09:11
@ToxicMushroom
Copy link
Author

I added support for my extra changes in Synphonyte/leptos-struct-table#87 (Column ordering+visibility and the drag and drop support)

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