Skip to content

Commit

Permalink
[delete] "footer" value of the TreeGrid adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
mafanya23 committed Oct 3, 2023
1 parent b11a5eb commit 498c0f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/treegrid/api/api_treegridcolumn_properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ columns:[
options?: (string | { id: string | number, value: string })[] |
(col: object, row?: object) => (string | { id: string | number, value: string })[],
editorConfig?: obj,
adjust?: "data" | "header" | "footer" | boolean,
adjust?: "data" | "header" | boolean,
align?: "left" | "center" | "right",
htmlEnable?: boolean,
hidden?: boolean,
Expand Down
8 changes: 2 additions & 6 deletions docs/treegrid/api/treegrid_adjust_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: You can explore the adjust config of TreeGrid in the documentation

@short: Optional. Defines whether the width of columns is automatically adjusted to the width of their content

@signature: {'adjust?: "header" | "footer" | "data" | boolean;'}
@signature: {'adjust?: "header" | "data" | boolean;'}

@default: false

Expand All @@ -33,10 +33,6 @@ The property can be specified to one of the available adjustment modes:
<td><b>"header"</b></td>
<td>adjusts the columns to the width of their header</td>
</tr>
<tr>
<td><b>"footer"</b></td>
<td>adjusts the columns to the width of their footer</td>
</tr>
<tr>
<td><b>"data"</b></td>
<td>adjusts the columns to the width of their content</td>
Expand All @@ -57,7 +53,7 @@ The width the columns will be adjusted to also depends on the values of the [min
- to optimize performance, you should specify `htmlEnable: true` in the configuration object of the column which contains HTML content;
- you can also specify `htmlEnable:true` in the configuration object of TreeGrid;
- `htmlEnable: true` allows calculating the content of simple HTML templates by excluding HTML markup and calculating internal content;
- the **adjust** option enabled (including the "header", "footer", "data" modes) adjusts the width of columns with account of [template](treegrid/api/api_treegridcolumn_properties.md) added to cells. You need to set the **content** attribute of the [header/footer](treegrid/api/api_treegridcolumn_properties.md) properties to one of the following modes: "avg" | "sum" | "max" | "min" | "count", otherwise **text** will be calculated.
- the **adjust** option enabled (including the "header", "data" modes) adjusts the width of columns with account of [template](treegrid/api/api_treegridcolumn_properties.md) added to cells. You need to set the **content** attribute of the [header/footer](treegrid/api/api_treegridcolumn_properties.md) properties to one of the following modes: "avg" | "sum" | "max" | "min" | "count", otherwise **text** will be calculated.


@changelog: added in v6.4
Expand Down

0 comments on commit 498c0f6

Please sign in to comment.