-
Notifications
You must be signed in to change notification settings - Fork 546
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
Addition or Deletion of rows and columns in an existing table #192
Comments
+1 on that - would be very helpful. |
Does this functionality added to the module?, I mean Adding or deleting a row from existing table. If yes how to do that? |
Duplicate of #86. |
Simply reiterating the solution idea in #86 that is applicable to this issue directly with the older main version of
The current version may have the methods implemented for pptx.table._RowCollection object. |
Can we delete row from existing table from pptx developed by Python-Pptx. I want to delete last 7th row from table. Is there anyway to do it? And if we have use below function could you please provide any example of code for the same. def remove_row(table: Table, OR def remove_row(table, row): row = table.rows[n] Thank you |
Good that there are solutions using private attributes (which names start with underscore) - but can't there be a public API that supports this? Or perhaps since 2022 there is already? |
Is there anyway to modify the number of rows and columns in an existing table present in a .pptx file?
Since I cannot edit the table style using the existing Python-PPTX module, I was trying to insert a table with a given style in a custom layout. I could just insert a new slide based on this layout and if only I could modify the number of rows and columns of the table in the newly created slide, my job would be done.
The text was updated successfully, but these errors were encountered: