Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable table should consider the @Lookup annotation #490

Open
haulmont-git opened this issue Jul 21, 2017 · 2 comments
Open

Editable table should consider the @Lookup annotation #490

haulmont-git opened this issue Jul 21, 2017 · 2 comments
Assignees
Labels
no solution yet We investigated the issue but don't know how to fix it type: bug Something isn't working

Comments

@haulmont-git
Copy link

https://www.cuba-platform.ru/support/topic/выпадающий-список-в-table


Original issue: https://youtrack.haulmont.com/issue/PL-9407

@haulmont-git haulmont-git added cuba type: bug Something isn't working labels Apr 27, 2018
@haulmont-git haulmont-git added this to the Undefined milestone Apr 27, 2018
@rapekas rapekas removed the cuba label Apr 27, 2018
@jreznot jreznot removed this from the Undefined milestone May 18, 2018
@jreznot jreznot added the no solution yet We investigated the issue but don't know how to fix it label Apr 15, 2019
@kgeis
Copy link

kgeis commented Oct 15, 2019

This bug is pre-7, so it might not seem relevant, but I am seeing it in 7.1.1 with the new generic GUI framework.

@kgeis
Copy link

kgeis commented Oct 16, 2019

Fixing this might be as easy as adding Table to DataGridEditorComponentGenerationStrategy#createComponent. Something like this:

        if (context.getComponentClass() == null
                || !(DataGrid.class.isAssignableFrom(context.getComponentClass())
                    || Table.class.isAssignableFrom(context.getComponentClass())) {
            return null;
        }

I would then suggest renaming the class because it's not just for DataGrid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no solution yet We investigated the issue but don't know how to fix it type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants