Skip to content

Conversation

@arman-boyakhchyan
Copy link
Contributor

No description provided.

By default, the width of each column depends on the [width of the UI component](/api-reference/10%20UI%20Components/DOMComponent/1%20Configuration/width.md '{basewidgetpath}/Configuration/#width') and the total number of [columns](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/columns '{basewidgetpath}/Configuration/columns/'). You can allow a user to resize the columns at runtime by setting the **allowColumnResizing** property to **true**.
When enabled, this property allows users to drag column separators in the header row to update column widths. Initial column widths depend on the component's [width](/api-reference/10%20UI%20Components/DOMComponent/1%20Configuration/width.md '{basewidgetpath}/Configuration/#width') and the number of displayed [columns](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/columns '{basewidgetpath}/Configuration/columns/').

[note] To ensure correct column resizing behavior when [columnHidingEnabled]({basewidgetpath}/Configuration/#columnHidingEnabled) is `true`, specify column widths ([columnWidth]({basewidgetpath}/Configuration/#columnWidth)/**columns[]**.[width]({basewidgetpath}/Configuration/columns/#width)) or enable [columnAutoWidth]({basewidgetpath}/Configuration/#columnAutoWidth).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[note] To ensure correct column resizing behavior when [columnHidingEnabled]({basewidgetpath}/Configuration/#columnHidingEnabled) is `true`, specify column widths ([columnWidth]({basewidgetpath}/Configuration/#columnWidth)/**columns[]**.[width]({basewidgetpath}/Configuration/columns/#width)) or enable [columnAutoWidth]({basewidgetpath}/Configuration/#columnAutoWidth).
[note] To ensure correct column resize behavior when [columnHidingEnabled]({basewidgetpath}/Configuration/#columnHidingEnabled) is `true`, specify column widths ([columnWidth]({basewidgetpath}/Configuration/#columnWidth)/**columns[]**.[width]({basewidgetpath}/Configuration/columns/#width)) or enable [columnAutoWidth]({basewidgetpath}/Configuration/#columnAutoWidth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants