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

Setting background color for a datatable row in a plugin does not use the color variations #818

Closed
vegegoku opened this issue Aug 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@vegegoku
Copy link
Member

To reproduce add the following inline plugin to a datatable and make sure the table is not set to stripped 👍

tableConfig..addPlugin(new DataTablePlugin<Contact>() {
                    @Override
                    public void onRowAdded(DataTable<Contact> dataTable, TableRow<Contact> tableRow) {
                        int n = (tableRow.getIndex()%5);
                        if (n ==1) tableRow.addCss(dui_bg_yellow_l_1);
                        if (n ==2) tableRow.addCss(dui_bg_yellow_l_2);
                        if (n ==3) tableRow.addCss(dui_bg_yellow_d_3);
                        if (n ==4) tableRow.addCss(dui_bg_yellow_d_4);
                    }
                })

The rows are all using the main yellow color as background instead of the yellow color shades.

The rows should have different yellow shades background.

@vegegoku vegegoku added the bug Something isn't working label Aug 21, 2023
@vegegoku vegegoku added this to the 2.0.0-RC2 milestone Aug 21, 2023
@vegegoku vegegoku self-assigned this Aug 21, 2023
@vegegoku vegegoku added this to To do in Domino UI via automation Aug 21, 2023
vegegoku added a commit that referenced this issue Aug 21, 2023
Domino UI automation moved this from To do to Done Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Domino UI
  
Done
Development

No branches or pull requests

1 participant