Centralize components of a dataTable that is editing the data in the Primefaces

0

How can I centralize the components of this datatable . When I click to edit the data of the same I realize that the components of data entry are not centralized, but when using a certain tests with css I managed to get to the side but not precisely in the center of each column.

Could such a fact be possible?

    
asked by anonymous 03.08.2014 / 23:47

1 answer

1

For those of you who wish, include the following property in your stylesheet.

.ui-cell-editor-input {
    text-align: center;
}

And when you edit the data of datatable the component of edit will be in the center.

    
05.08.2014 / 20:24