DataTable: wrong border set on tr

Post Reply
Babas007
Posts: 250
Joined: 24 May 2011, 09:42

12 Jun 2018, 14:51

I have a simple DataTable, and borders are there as expected thanks to this selector:

Code: Select all

body .ui-panelgrid tbody tr.ui-widget-content {
    border: 1px solid #d8d8d8
}
I have another DataTable where borders are not drawn (not expected) and it's due to this selector:

Code: Select all

body .ui-datatable tbody tr.ui-widget-content {
    border: 0 none;
}
Don't you think it strange to draw border only if contained in panelGrid? I don't want to make my datatable contained in panelGrid (or any kind of fiddling) just to make border drawn.

I think these selectors need to be reviewed. Could you fix this in the next release please?

User avatar
aragorn
Posts: 3079
Joined: 29 Jun 2013, 12:38

13 Jun 2018, 08:35

Thanks a lot! Fixed for next version.

Babas007
Posts: 250
Joined: 24 May 2011, 09:42

13 Jun 2018, 15:05

Thank you

User avatar
aragorn
Posts: 3079
Joined: 29 Jun 2013, 12:38

13 Jun 2018, 15:20

You're welcome!

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests