Devexpress radio button list items change colour - devexpress-mvc

I am trying to disable the radio button button list based on user selection. When the radio button list is disabled how can i change the list items text color?

used below code in CSS
label.dxeRadioButtonList_MetropolisBlue, .dxeDisabled_MetropolisBlue .dxichTextCellSys .dx-wrap {
color: #CCCCCC !important;
}

Related

How to change background color of more than one recyclerView item using one button?

I have a button. when I click that button my app should look like 2nd one.
before clicking button:
after clicking button background color of some item will be changed. like this:

I need macro for editing Menu in Quick Access Toolbar

I have questions about QAT.
How do I add my tooltip to a button. How do I add a tooltip to any button?
How to change the icon of the button White Arrow?
How to insert my own icons?
Is it possible to add more Submenus. For example Submenus_1; Submenus_2; Submenus_3; Submenus_4; Submenus_5.

Menus with multiple item-columns javaFX 8

My goals is to create a menu with multiple columns. I went about this by using GridPane, to which I added Labels. Then I inserted the GridPane in a PopOver. I also added action listeners to Labels So when the users click on a cell, I can do a certain action. My current implementation is based on a button. Once clicked, the PopOver will show up.
As an example, font names:
Is there a way to have this in a menu?
I tried making the MyGridPane class that extends MenuItem. It allows me to add the GridPane to the menu, but it only comes in as an ObjectID. If I want it visually, the only way I found was to
menuItem.setGraphic()
But this make the whole GridPane one item. The cells and their action listeners get ignored.
Is there a way to add a grid pane as a menu item?
Is there a way to add a grid pane as a menu item?
Yes, you can try as
CustomMenuItem menuItem = new CustomMenuItem(gridPane);
menuItem.setHideOnClick(false);
To visually disable the highlight color for that menu/menuitem, customize the related CSS selectors of menu/menuitem.

PrimeFaces splitbutton removal

My splitButton should not have any text on the button but I have menu items. I have to remove the button instead leaving blank except menu option.
Use Menu Button.If you dont have any text on the menu button, Its shows only down arrow icon for menu options.

How to show rich text in the QCombobox.lineEdit()? or how to replace the lineedit in qcombobox with textedit?

i have this working example
now i want to be able to edit the QLineEdit and highlight items that are not in the dropdown listview,(eg. red background color) , and add auto complete feature. from my understanding, the only viable way is making a custom widget, with a QTextEdit and a listView ( since qlineedit can't display html ?)
edit: eg I have India,China in the lineEdit, but i only want China's bg color to be red since it's not in the dropdown items list
is there an easier way other than this? thanks !
the code is here: http://pastebin.com/WGrj3ud5
and here : http://www.barishcb.com/?p=426
For the auto-completion, you need to add a QCompleter to your QlineEdit
For the red background, you can dynamically change the style sheet of the QLineEdit:
# in case of item not in the dropdown listview:
self.lineEdit.setStyleSheet("background-color: rgb(255, 0, 0);")
# otherwise:
self.lineEdit.setStyleSheet("")

Resources