inputText in datatable

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
serenne
Posts: 98
Joined: 21 Jul 2015, 07:43

18 Dec 2019, 01:18

Hi Aragrorn

Migrating from Ultima to Mirage is on the end with success

One of the last issue for me is the visual difference in datatable between the outputText (in the output facet) and the visual length of the inputText in the input facet
With Ultima, we were able to enter (for example) 4 characters in a cell that also display the 4 characters.
With Mirage, due to padding only 2 chars are visible at the same time.

What is your recommendation to get back to the same functionality (without changing the width of the cells of course) ? or is there any changes planned in a next version ?

attached image :
[img0]http://37.187.72.27/pbInput.png[/img]
Kindest regards

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

20 Dec 2019, 09:28

Hi,
is there any changes planned in a next version ?
- Unfortunately, no. This is by design.

Could you please try the following css code?

Code: Select all

.ui-datatable .ui-datatable-data tr.ui-row-editing td.ui-editable-column, 
.ui-datatable .ui-datatable-data td.ui-cell-editing {
    padding: .2em;
}

.ui-datatable .ui-datatable-data tr.ui-row-editing td.ui-editable-column .ui-inputfield, 
.ui-datatable .ui-datatable-data td.ui-cell-editing .ui-inputfield {
    padding: 6px;
}
Or you can change $inputPadding sass variable on Mirage.

Best Regards,

Post Reply

Return to “Mirage - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest