Hi folks,

do you have any trick how to align a text in combobox to right?

<column headerFontColor="red" headerLabel="Cena po slevě" width="100" headerTextAlign="Right">
     <comboBox styleClass="text-align:right" font-color="red" enable="N" displayColumn="CENA_POZLAVE" 
                    valueColumn="OBJED_VOZIDLO_ID" column="OBJECT_ID" listDataSource="jsmobjedvozidlosumaLOV1"/>
</column>

Adding a standard class does not work :(

Thanks, Tomas

asked 27 Jan '13, 09:33

Tomeo's gravatar image

Tomeo
162249
accept rate: 3%


It is not possible to set text-align of a specific combobox inside a grid. This is possible for comboboxes outside grid by using custom css but not works for those in a grid.

i.e this class sets all comboboxes in the app:

.bdf-combobox, .x-combo-list {
  text-align: right;
}

And this one sets a specific combobox (named myCombo) in a panel (named myPanel) (not inside a grid):

#myCombo-myPanel, #myCombo-myPanel-list {
  text-align: right;
}

But no trick for a combo inside a grid.

link

answered 27 Jan '13, 10:40

oskansavli's gravatar image

oskansavli ♦♦
3604
accept rate: 45%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×1

Asked: 27 Jan '13, 09:33

Seen: 2,509 times

Last updated: 27 Jan '13, 10:40


© Copyright Gerger 2017