How to add multiple rows and/or columns to a table in the Rich Text Editor (RTE)

By Carmen posted 12-06-2016 04:25

  

Users familiar with HTML can use the Source in Jama Software's Rich Text Editor (RTE) to edit multiple rows and tables.

Jama Software's RTE tables can be edited one cell at a time, one row at a time and one column at a time via the UI. However, editing multiple cells, rows and columns at the same time is not possible via the Table Properties view.

Table properties

If you need to add multiple columns or rows simultaneously to a table, the best way to do that is via HTML in the RTE Source.

In the Source, the table is defined within the <table> HTML tag. 

Each table row is defined with the <tr> HTML tag. A table data/cell is defined with the <td> HTML tag.

Source

Add Rows

If your goal is to add rows then you need to copy/paste the <tr> </tr> section as many times as rows needed within the <tbody> </tbody> HTML tags. You can add rows above or below any pre-existing table rows. Columns must be inserted within a row.

<tr> </tr>

Each <tr> </tr> section will define a row in the table.

html

table

Add Columns

Columns are defined by the amount of cells within a row, so the amount of columns in a table equals the amount of cells in each row.

code 2

Screen%20Shot%202016-12-06%20at%2012.10.16.png

In order to add a column to the table you'll need to insert a <td> HTML tag within each row. 

code 3

table 3

code 4

Screen%20Shot%202016-12-06%20at%2012.12.37.png

Also, make sure that you add the <td> HTML tag to ALL the rows so you don't get an unbalanced table.

code 4

table 4

More information on editing tables via HTML can be found throughquick web search.

0 comments
647 views