Skip to content

TextUtils.getTable, numeric values alignment to the right #2746

Description

@sosadchuk

Hello,

I would like to request numeric values (and column names) alignment to the right. This might be tricky because you might be unaware if the column is really numeric, or should be considered as string, if so, consider an additional parm to avoid trimming.

My current approach was to get column types info from the API response, and pad column names and values to reach the maximum length for a provided column if numeric.

The problem is, even if I do so, you make a call to TextUtils.wordWrap, and the wrap-ansi options are hardcoded to have trim: true (because it's never provided), which makes it impossible to have simple padding on my side.

Thx,
Sergei.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority-lowLegit issue but cosmetic or nice-to-have

    Type

    No type

    Projects

    Status
    Low Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions