Hi,
I'm creating a button dropdown for one of the columns in my grid for updating:
{ columnKey: "ID", editorOptions: { button: "dropdown", listItems: myData} }
Can someone tell me what's the best way to change font size for the list items in this dropdown?
Thanks!
Hi,The best way is to use CSS like this one:
<style type="text/css">.ui-igcombo-list { font-size: 0.5em!important;}</style>
Hi Martin,
Thanks for your reply, will try it out.
I tried using the style above but it does not seem to take for dropdown inside an iggrid. Do I need to do some kind of nesting for this to work? my iggrid has updating feature which has one of the columns as the button dropdown:
features: [ { name: "Updating", editMode: "row", columnSettings: [ { columnKey: "ID", readOnly: true }, { columnKey: "Type", editorOptions: { button: "dropdown", listItems: myTypes} }, ] } ]
Appreciate any help, thanks!
I've attached a working sample.
Best regards,Martin PavlovInfragistics, Inc.
Will try it out. Thanks, Martin!