Skip to content

Commit

Permalink
DataGrid: update Column Fixing topic (T1173798)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergepilipchuk committed Jun 23, 2023
1 parent 0f48d91 commit 38fbab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ If a column should be fixed initially, assign **true** to its [fixed](/api-refer

[note] Once you assign **true** to the **columnFixing**.**enabled** or **fixed** property, [command columns](/concepts/05%20UI%20Components/DataGrid/15%20Columns/10%20Column%20Types/4%20Command%20Columns/00%20Command%20Columns.md '/Documentation/Guide/UI_Components/DataGrid/Columns/Column_Types/Command_Columns/') become fixed automatically.

Since column fixing is effective only with horizontal scrolling, using it makes sense only if the [columnAutoWidth](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/columnAutoWidth.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#columnAutoWidth') property is **false** and when the total width of columns exceeds the container width. Otherwise, fixed columns behave just like regular ones.
Column fixing works only with horizontal scrolling. If a user scrolls DataGrid horizontally, the fixed columns do not move. Horizontal scrolling is enabled when a total columns width is wider than the component width (or its container width if the component's width is not specified). If the total columns width is less than the component width, the fixed column behave like a regular column.

#####See Also#####
- [Adaptability](/concepts/05%20UI%20Components/DataGrid/15%20Columns/50%20Adaptability '/Documentation/Guide/UI_Components/DataGrid/Columns/Adaptability/')
Expand Down

0 comments on commit 38fbab5

Please sign in to comment.