mendixlabs / mendix-dynamic-table

Mendix Matrix widget that can show tree-structures
https://appstore.home.mendix.com/link/app/112555/
Other
5 stars 2 forks source link

DataHelper does not show options to select for row and column #2

Closed evangeline85 closed 4 years ago

evangeline85 commented 4 years ago

I mostly copied the domainmodel etc for this widget, but when I try to configure the datahelper I do get selectoptions for the reference: context (also the ones I need for row and column), but for 'reference: Row' and 'reference: Column' I only see the nonpersistant EntryHelper object. I have no idea what is the difference between them. Is this a bug or do I miss something?

JelteMX commented 4 years ago

Can you show me a screenshot of the domain model? At least the relevant associations from EntryHelper to Row and Column? Seems to me that one might be missing.

JelteMX commented 4 years ago

I attached the latest version of my test-project to an issue that I will keep open. That might help. See https://github.com/JelteMX/mendix-dynamic-table/issues/3

evangeline85 commented 4 years ago

Hey Jelte,

The weird thing is they are missing for both. No reference to select at all for row or column. I already tried to place the row and the column entity in the same module as the entryhelper and view, but it made no difference. For context all three (view, column and row) are present for selection. The domainmodel is added as the attachment.

Gr. Evangeline

Op do 13 feb. 2020 om 10:05 schreef Jelte Lagendijk < notifications@github.com>:

Can you show me a screenshot of the domain model? At least the relevant associations from EntryHelper to Row and Column? Seems to me that one might be missing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JelteMX/mendix-dynamic-table/issues/2?email_source=notifications&email_token=AG6BSRIENBHBXGI4ZFPQXQDRCUENJA5CNFSM4KTY44V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELT6MZY#issuecomment-585623143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6BSRL6KAWVDE5THQ4NU3LRCUENJANCNFSM4KTY44VQ .

JelteMX commented 4 years ago

Unfortunately attachment are not uploaded when you reply via e-mail. Can you add this manually on Github to this issue? Also, I have added my test-project I use for this widget, you might have a look at that one to see how I implemented it.

evangeline85 commented 4 years ago

DomeinModelRapportage.docx

JelteMX commented 4 years ago

So based on your input, I see the following.

For Entry Helper (this screen) you will need to set the entity to EntryHelper, and then you should be able to set the correct references to both the EntryHelper_Column/Column and EntryHelper_Row/Row.

What I am missing here is what the Entry is in your case. That object should have a reference to both the Column as well as the Row.

I strongly urge you to download my test-project, see this link (click on Project MPK -> Download). That project might shed some light on how I structured this.

evangeline85 commented 4 years ago

We found the problem. It is necessary to have a multiple to multiple association between EntryHelper and row/column to be able to choose them. Thank you for trying to help us.