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

a solution to repair rows when using columns #403

Open
dsl400 opened this issue Nov 3, 2023 · 1 comment
Open

a solution to repair rows when using columns #403

dsl400 opened this issue Nov 3, 2023 · 1 comment

Comments

@dsl400
Copy link

dsl400 commented Nov 3, 2023

Summary

It would be useful to have a method to repair rows when using columns.

Motivation

In my case some rows have one or two columns more than the rest and I can repair the row by shifting the content two cells to the left at a specific point.
However, when using columns, the record argument passed to on_record does not contain the values defined outside of the columns range.

Draft

A simple solution is providing access to the original row data as array in the context argument of on_record.

Having access to columns definitions and original row data inside on_record will enable the programmer to rebuild the record

@wdavidw
Copy link
Member

wdavidw commented Nov 6, 2023

Would using on_record with raw: true solve your demand? See the "properties with columns: true and raw: true" test.

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

No branches or pull requests

2 participants