Skip to Content

UI5 FIORI Input Field - Right Align the Quantity/Amount content

I need to Right align the CONTENTS of input fields displayed in the cells of a table column for Quantity and Amount values. I have a SAP.m.table where Quantity and Amount values are to be provided by the user. All cells of these columns are Input Fields and the column is right aligned. I am not able to right align the CONTENTS of this input field which is needed to properly see the decimals and amount values. Has anyone done this in past? Any thoughts or suggestions are welcome. Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Feb 27 at 02:23 PM

    You should be able to add a css class to it with the property

    text-align: right

    Regards,

    Jamie

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27 at 02:33 PM

    Thank you Jamie, I'll will try this and update the thread. Much appreciated!!

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27 at 04:18 PM

    Yes, this worked. Thanks you

    Add comment
    10|10000 characters needed characters exceeded