davidgohel / flextable

table farming
https://ardata-fr.github.io/flextable-book/
562 stars 81 forks source link

delete specific row #441

Closed kendonB closed 1 year ago

kendonB commented 2 years ago

I'd like to be able to delete a specific row (like in Word or Excel). My use case is that I'd like to replace some rows from a gtsummary::tbl_regression with another row after converting to flextable. The development philosophy of gtsummary is not to have these sorts of fine table management features but to leave that to gt or the other table environments it supports, including flextable.

I have found delete_part but that doesn't seem to be able to be used for rows within parts.

It would probably make sense to allow deleting any row or column using the normal i/j selectors.

github-actions[bot] commented 6 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.