Using TextEdit, I created a table in a RTF document. Now I want to delete one of the columns in the table, and I see no option anywhere to delete a column. How do I delete a column in a table in TextEdit?
-
4If TextEdit formats the table so that each column starts at the same horizontal position you could try holding down the <Option> key to select the rectangular area of the column you want to delete. Then press <delete>.– jaumeFeb 3, 2014 at 7:56
-
@jaume why not make that an answer?– RuskesFeb 3, 2014 at 8:58
-
Let's see if it works for the OP... if that's the case I'll make an answer out of it.– jaumeFeb 3, 2014 at 9:05
-
@jaume I can't seem to get the ⌥-drag to work with tables. The mouse cursor changes correctly, but it selects normally?– grg ♦Feb 3, 2014 at 17:23
-
@jaume I held the Option key and selected all the text in the column, then pressed the Delete key. All the text vanished, but the column was still there with empty cells.– pacoverflowFeb 4, 2014 at 7:09
2 Answers
RTF table support is quite limited in TextEdit.
If the column you want to get rid of is not the last column in the table (in which case grgarside's answer above is your best option) you can try the procedure below:
Let's say you want to delete column "c" below:
Hold down Option to mark the contents of the column (note that the cursor changes shape to a cross):
Now you can either:
Press Delete to delete its contents:
Position the cursor in every empty cell and press the fndelete key combination (you can also use the delete ⌦ key, but you will have to rearrange columns later):
until you have deleted all of them:
or:
Press Merge in Format > Table...:
Select the contents of the column and delete them by pressing Delete:
Place the cursor in the empty column and press the fndelete key combination (you can also use the delete ⌦ key, but you will have to rearrange columns later) to delete it.
I wish it were more straightforward, but unfortunately it isn't.
-
Thanks jaume. On my MacBook Pro, I had to press fn+delete while doing Step 4. Then the remaining columns were automatically resized so that the table continued to fit the entire width of the window, so that I didn't have to do Step 5. Feb 5, 2014 at 7:10
-
Thanks for sharing the fn+delete trick, I've added it to the answer and deleted step 5.– jaumeFeb 5, 2014 at 7:38
If it's the last column in a table, you can reduce the number of columns in the Table inspector, available from Format → Table…