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

Remove Entry #4

Open
dominikheinz opened this issue Mar 22, 2018 · 1 comment
Open

Remove Entry #4

dominikheinz opened this issue Mar 22, 2018 · 1 comment

Comments

@dominikheinz
Copy link

Hi

Can you add functionality to remove entries from the table during runtime?
This would make it easier to use it event-based aka adding new entries when data arrives end removing entries from the table when they are not needed anymore

@dattanchu
Copy link
Owner

The printer talks directly to the output stream. Without knowing what kind of output stream it is, will I be able to rewind the stream? e.g. if the footer has been printed, how would I rewind the stream to remove a row before reprint the footer?

Would you consider keeping bprinter in your view layer only? You can then create a class that manage the state of the table content, modifying it as event comes in, then only call bprinter to update your view when it is needed.

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

No branches or pull requests

2 participants