Skip to content

[Bug]: Table length incorrect when text wraps #37015

Open
@eedwardsSGS

Description

@eedwardsSGS

Is there an existing issue for this?

  • I have searched the existing issues

Description

If you have text that wraps into multiple lines, and need the table page length to set up server-side pagination, it returns a length that causes the number of rows to spill over and make the table scroll.

I understand calculating offset is difficult when the table height is fixed and not every page has the same number of rows due to varying height, but the widget can be unintuitive when there is both pagination and scrolling. Perhaps allowing for variable height with fixed # of rows?

Steps To Reproduce

Make a table
Populate it with data including strings of varying lengths
Set the text to wrap
Scroll through and see how on different pages the number of rows is the same but different amounts fit on the visible table at one time.

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

Self Hosted - 1.41

Metadata

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersLowAn issue that is neither critical nor breaks a user flowNeeds TriagingNeeds attention from maintainers to triageProductionQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDETable WidgetWidgets & Accelerators PodIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions