apache / apache/royale-asjs

Data binding does not work for direct class

Open
#1,186 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

1. ContainerDataBinding mxml

2.



3. The DataGridOptions bead it's a bead to dynamically add buttons to the Jewel DataGrid

4. Result: Data binding is not working.

Workaround (tested):

1.
public class TestConfig {
public static const gridModel:Class = TestGridModel;
}

2.

3. Result: Data binding works.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue from ContainerDataBinding.mxml using the DataGrid, its DataGridOptions bead, and the direct TestGridModel binding shown. Compare it with the TestConfig.gridModel workaround and trace why data binding differs; done means the direct class binding works without the workaround.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.