Normalize Table
This action normalizes a table by introducing extra cells where rowspan and colspan are used, which makes iterating over table columns or rows easier. The normalization only works if colSpan/rowSpan is part of the HTML source, not if it is created using CSS.
As this action modifies the page, it can cause JavaScript or form submission to stop working, as these may rely on the structure of the page. This is however rarely a problem since the action is usually applied to data tables from which there is no further navigation.
Properties
Normalize Table can be configured using the following properties.
- Do not copy form fields
-
If this option is selected, any form fields (input, select, button, textarea) will not be copied when extra cells are inserted.
- Examples
-
- colSpan
-
Before
1
2
3
4
5
After
1
2
3
3
4
5
- rowSpan
-
Before
1
2
X
3
X
4
X
5
6
X
After
1
2
X
3
2
X
3
4
X
5
6
X
- colSpan and rowSpan
-
Before
1
2
3
4
5
6
7
8
8
8
8
8
After
1
2
3
3
4
5
5
3
3
6
7
7
3
3
6
8
8
8
8
8