apache / apache/royale-asjs

variableRowHeight on AdvancedDataGrid not working

Open
#1,224 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Hi,

i'm trying to display a long label in a table, with the label fully displayed, on several lines.
I've tried adding variableRowHeight="true" AdvancedDataGrid but it doesn't work.

In flash :
![image](https://github.com/apache/royale-asjs/assets/23524780/2a4208fd-d42c-44d3-86da-dfc342f4badc)

With apache royale:
![image](https://github.com/apache/royale-asjs/assets/23524780/33c06e50-68ba-40d9-8a92-c1db1a0fa7a1)

When looking into it, i ended up in the UITextField.as class and saw :
// not implemented
public function set multiline(value:Boolean):void
{
}

Is there a plan to implement it ? Or should i be doing things differently ?

Any help would be appreciated, Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with UITextField.as, especially the unimplemented multiline setter, and trace how AdvancedDataGrid handles variableRowHeight. Reproduce the long-label case described in the issue and determine the existing rendering path; done means labels display fully across multiple lines when variableRowHeight is enabled.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.