Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
set_table_cell_value [2013/08/08 19:16] 127.0.0.1 external edit |
set_table_cell_value [2015/10/14 03:13] (current) admin |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | Table | [[Table Type|Table]] | Table where the value will be inserted. | | + | | Table | [[Table Type]] | Table where the value will be inserted. | |
| - | | Column| [[Index Or Name Type|Index Or Name]] | Name or index of the column where the new value will be inserted. | | + | | Column| [[Index Or Name Type]] | Name or index of the column where the new value will be inserted. | |
| - | | Keys | [[Tuple Type|Tuple]] | Corresponding key of the cell row. | | + | | Keys | [[Tuple Type]] | Corresponding key of the cell row. | |
| - | | Value | [[Table Value Type|Table Value]] | Value that will be inserted into the table. | | + | | Value | [[Table Value Type]] | Value that will be inserted into the table. | |
| ===== Outputs ===== | ===== Outputs ===== | ||
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | Result | [[Table Type|Table]] | The resulting table containing the new column. | | + | | Result | [[Table Type]] | The resulting table containing the new column. | |
| ===== Group ===== | ===== Group ===== | ||
| Line 24: | Line 24: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | This functor adds an empty column of the given type at the given position. For example, given the table below | + | None. |
| - | ^ Key1* ^ Key2* ^ Value1 ^ Value2 ^ | ||
| - | | 1 | 2 | 2.2 | 3.1 | | ||
| - | | 1 | 3 | 2.1 | 3.1 | | ||
| - | | 1 | 6 | 1.2 | 4.2 | | ||
| - | | 2 | 2 | 3.2 | 6.1 | | ||
| - | |||
| - | adding a column named "New_Column" of type "Real" at position 2 yields | ||
| - | |||
| - | ^ Key1* ^ New_Column* ^ Key2* ^ Value1 ^ Value2 ^ | ||
| - | | 1 |@green: 0.0 | 2 | 2.2 | 3.1 | | ||
| - | | 1 |@green: 0.0 | 3 | 2.1 | 3.1 | | ||
| - | | 1 |@green: 0.0 | 6 | 1.2 | 4.2 | | ||
| - | | 2 |@green: 0.0 | 2 | 3.2 | 6.1 | | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||
| AddTableColumn | AddTableColumn | ||