Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Add options to StudioProperty annotation for the hierarchyProperty attribute of the Tree, TreeDataGrid, TreeTable components #591

Closed
GlebDurygin opened this issue Jul 11, 2021 · 1 comment
Assignees
Milestone

Comments

@GlebDurygin
Copy link
Contributor

  1. Create a screen with Tree or TreeDataGrid or TreeTable component
  2. Try to set value for hierarchyProperty attribute using ComponentInspector
  • Actual behavior
    Valid options - all properties of entity from dataContainer
@StudioProperty(name = "hierarchyProperty", type = PropertyType.PROPERTY_PATH_REF, typeParameter = "E",
        required = true)
  • Expected behavior
    Valid options - all entity properties of entity from dataContainer
@StudioProperty(name = "hierarchyProperty", type = PropertyType.PROPERTY_PATH_REF, typeParameter = "E",
        required = true, options = {"to_one", "to_many"})
@GlebDurygin GlebDurygin added this to the 1.1.0 milestone Jul 11, 2021
@GlebDurygin GlebDurygin self-assigned this Jul 11, 2021
GlebDurygin pushed a commit that referenced this issue Jul 11, 2021
…tribute of the Tree, TreeDataGrid, TreeTable components #591
@lovtsovaik lovtsovaik assigned konyashkina and unassigned lovtsovaik Aug 19, 2021
@konyashkina
Copy link

Tested on
Jmix version: 1.1.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3437-211
IntelliJ version: IntelliJ IDEA 2021.1.3 (Community Edition)

Verified.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants