Page 1 of 1

DataTable: wrong border set on tr

Posted: 12 Jun 2018, 14:51
by Babas007
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?

Re: DataTable: wrong border set on tr

Posted: 13 Jun 2018, 08:35
by mert.sincan
Thanks a lot! Fixed for next version.

Re: DataTable: wrong border set on tr

Posted: 13 Jun 2018, 15:05
by Babas007
Thank you

Re: DataTable: wrong border set on tr

Posted: 13 Jun 2018, 15:20
by mert.sincan
You're welcome!