You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[adjust](grid/api/gridcolumn_properties/gridcolumn_adjust_property.md)| (optional) *false* by default, defines whether the width of a column is automatically adjusted to its content |
14
-
|[align](grid/api/gridcolumn_properties/gridcolumn_align_property.md)| (optional) aligns data in a column: "left"/"center"/ "right", *"left"* by default |
14
+
|[align](grid/api/gridcolumn_properties/gridcolumn_align_property.md)| (optional) aligns data in a column: *"left"*/*"center"*/*"right"*|
15
15
|[autoWidth](grid/api/gridcolumn_properties/gridcolumn_autowidth_property.md)| (optional) enables/disables the ability of a column to adjust its size to the size of Grid, *false* by default |
16
-
|[closable](grid/api/gridcolumn_properties/gridcolumn_closable_property.md)| (optional) **PRO version only**, either allows closing a particular element of the [`group`](../../api/grid_group_config/) panel or makes it permanently enabled |
16
+
|[closable](grid/api/gridcolumn_properties/gridcolumn_closable_property.md)| (optional) either allows closing a particular element of the [`group`](../../api/grid_group_config/) panel or makes it permanently enabled (**PRO version only**)|
17
17
|[dateFormat](grid/api/gridcolumn_properties/gridcolumn_dateformat_property.md)| (optional) defines the format of dates. The date format must include delimiters (spaces or symbols), otherwise an error will be thrown |
18
18
|[draggable](grid/api/gridcolumn_properties/gridcolumn_draggable_property.md)| (optional) defines whether a column is draggable, *false* by default |
19
19
|[editable](grid/api/gridcolumn_properties/gridcolumn_editable_property.md)| (optional) defines whether a column is editable, *false* by default |
20
20
|[editorConfig](grid/api/gridcolumn_properties/gridcolumn_editorconfig_property.md)| (optional) an object with configuration settings of the column's editor. The structure of this object depends on the specified type of the editor or the column |
21
-
|[editorType](grid/api/gridcolumn_properties/gridcolumn_editortype_property.md)| (optional) the type of an editor used in a column: "input"|"select"|"combobox"|"textarea"|"multiselect"|"datePicker", *"input"* by default|
21
+
|[editorType](grid/api/gridcolumn_properties/gridcolumn_editortype_property.md)| (optional) the type of an editor used in a column: *"input"*/*"select"*/*"combobox"*/*"textarea"*/*"multiselect"*/*"datePicker"*|
22
22
|[footer](grid/api/gridcolumn_properties/gridcolumn_footer_property.md)| (optional) an array of objects with footer rows configuration |
23
-
|[groupable](grid/api/gridcolumn_properties/gridcolumn_groupable_property.md)| (optional) **PRO version only**, enables data grouping by the values of a certain column |
23
+
|[gravity](grid/api/gridcolumn_properties/gridcolumn_gravity_property.md)| (optional) sets the relative width proportions for Grid columns |
24
+
|[groupable](grid/api/gridcolumn_properties/gridcolumn_groupable_property.md)| (optional) enables data grouping by the values of a certain column via the user interface (**PRO version only**) |
24
25
|[header](grid/api/gridcolumn_properties/gridcolumn_header_property.md)| (required) an array of objects with header rows configuration |
25
-
|[hidden](grid/api/gridcolumn_properties/gridcolumn_hidden_property.md)| (optional) defines whether a column is hidden, *false* by default |
26
-
|[htmlEnable](grid/api/gridcolumn_properties/gridcolumn_htmlenable_property.md)| (optional) specifies the HTML content (inner HTML) of a column. If set to *false*, the content of the column cells will be displayed as a *string* value, *false* by default |
26
+
|[hidden](grid/api/gridcolumn_properties/gridcolumn_hidden_property.md)| (optional) defines whether a column is hidden, *false* by default |
27
+
|[htmlEnable](grid/api/gridcolumn_properties/gridcolumn_htmlenable_property.md)| (optional) allows using and displaying HTML content in a column. If set to *false*, the content of the column cells will be displayed as a *string* value, *false* by default |
27
28
|[id](grid/api/gridcolumn_properties/gridcolumn_id_property.md)| (required) the id of a column |
28
-
|[mark](grid/api/gridcolumn_properties/gridcolumn_mark_property.md)| (optional) either highlights the specified cells or applies the desired CSS classes to cells with minimal|maximal values in a column |
29
+
|[mark](grid/api/gridcolumn_properties/gridcolumn_mark_property.md)| (optional) returns a template for marking a cell(s) or applies the desired CSS classes to cells with minimal/maximal values in a column|
29
30
|[maxWidth](grid/api/gridcolumn_properties/gridcolumn_maxwidth_property.md)| (optional) the maximal width to be set for a column |
30
-
|[minWidth](grid/api/gridcolumn_properties/gridcolumn_minwidth_property.md)| (optional) the minimum width to be set for a column, *20* by default|
31
+
|[minWidth](grid/api/gridcolumn_properties/gridcolumn_minwidth_property.md)| (optional) the minimum width to be set for a column |
31
32
|[numberMask](grid/api/gridcolumn_properties/gridcolumn_numbermask_property.md)| (optional) sets an input mask for entering number values |
32
-
|[options](grid/api/gridcolumn_properties/gridcolumn_options_property.md)| (optional) specifies a set of options to be displayed in the editor of a cell. It is required if you specify editorType:"select"|"combobox"|"multiselect" |
33
+
|[options](grid/api/gridcolumn_properties/gridcolumn_options_property.md)| (optional) specifies a set of options to be displayed in the editor of a cell. It is required if you specify `editorType:"select"/"combobox"/"multiselect"`|
33
34
|[patternMask](grid/api/gridcolumn_properties/gridcolumn_patternmask_property.md)| (optional) sets an input mask for entering number and string values according to a special pattern |
34
35
|[resizable](grid/api/gridcolumn_properties/gridcolumn_resizable_property.md)| (optional) defines whether a column can be resized, *false* by default |
35
36
|[sortable](grid/api/gridcolumn_properties/gridcolumn_resizable_property.md)| (optional) defines whether a column is sortable, *true* by default |
36
37
|[summary](grid/api/gridcolumn_properties/gridcolumn_closable_property.md)| (optional) creates the list of calculated values based on the column's data. The defined list is available only at the column's level |
37
-
|[template](grid/api/gridcolumn_properties/gridcolumn_template_property.md)| (optional) a function which returns a template with content for a cell(s)|
38
+
|[template](grid/api/gridcolumn_properties/gridcolumn_template_property.md)| (optional) a function which returns a template with content for a cell |
38
39
|[tooltip](grid/api/gridcolumn_properties/gridcolumn_tooltip_property.md)| (optional) enables/disables the header tooltip, or sets the configuration object with the tooltip settings |
39
40
|[tooltipTemplate](grid/api/gridcolumn_properties/gridcolumn_tooltiptemplate_property.md)| (optional) a function which returns a template for the content of the tooltip |
40
41
|[type](grid/api/gridcolumn_properties/gridcolumn_footer_property.md)| (optional) the type of a column |
Copy file name to clipboardexpand all lines: docs/grid/api/grid_groupable_config.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: You can explore the groupable config of Grid in the documentation o
6
6
7
7
# groupable
8
8
9
-
@short: Optional. Enables grouping data by values in all columns
9
+
@short: Optional. Enables grouping data by values in all columns via the user interface
10
10
11
11
:::tip pro version only
12
12
The described functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.
@@ -44,6 +44,12 @@ const grid = new dhx.Grid("grid_container", {
44
44
- or by clicking a group element on the group panel
45
45
- You can edit the nesting level of grouping by modifying the grouping order via either moving elements to the group panel or removing elements from the group panel
46
46
47
+
:::info important
48
+
- Data grouping isn't intended for working with `lazyDataProxy`
49
+
- Modifying the values of grouped elements won't modify the aggregated values
50
+
- You mustn't change the order of elements grouping by drag-n-drop
<td><b>css</b></td><td>(optional) styling to be applied to a footer</td>
60
65
</tr>
61
66
<tr>
62
-
<td><b>htmlEnable</b></td><td>(optional) <i>false</i> by default. If set to <i>true</i>, specifies the HTML content (inner HTML) of a footer. If set to <i>false</i>, the content of the footer cells will be displayed as a <i>string</i> value</td>
67
+
<td><b>htmlEnable</b></td><td>(optional) <i>false</i> by default. If set to <i>true</i>, allows using and displaying HTML content in a footer. If set to <i>false</i>, the content of the footer cells will be displayed as a <i>string</i> value</td>
description: You can explore the gravity config of Grid in the documentation of the DHTMLX JavaScript UI library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Suite.
5
+
---
6
+
7
+
# gravity
8
+
9
+
@short: Optional. Sets the relative width proportions for Grid columns
<td><b>sortAs</b></td><td>(optional) a function that defines the type to sort data as (e.g. string, number, date, etc.)</td>
87
92
</tr>
88
93
<tr>
89
-
<td><b>htmlEnable</b></td><td>(optional) <i>false</i> by default. If set to <i>true</i>, specifies the HTML content (inner HTML) of a header. If set to <i>false</i>, the content of the header cells will be displayed as a <i>string</i> value</td>
94
+
<td><b>htmlEnable</b></td><td>(optional) <i>false</i> by default. If set to <i>true</i>, allows using and displaying HTML content in a header. If set to <i>false</i>, the content of the header cells will be displayed as a <i>string</i> value</td>
0 commit comments