Available since in April 2020.
See also:
Table of Contents
Default dropdown style
This is how dropdowns/lookups look by default. As you can see there is a gap between the buttons and the style of the dropdown (having a gradient background) looks differently in comparison to other controls.
Modified dropdown style
With a single line of code you will be able to align the buttons, adjust the look, remove the gaps and even change icons.
new AppGiniField("partner_id").dropdown().fix("pencil", "plus");
(1) Remove gaps and align buttons
Code
// file: hooks/TABLENAME-dv.js // single field: beautify new AppGiniField("partner_id").dropdown().fix();
Result
(2) Change Icons
Code
// file: hooks/TABLENAME-dv.js // single field: beautify + change icons new AppGiniField("partner_id").dropdown().fix("pencil", "asterisk");
Result
(3) Remove (green) variation
Code
// file: hooks/TABLENAME-dv.js // single field, beautify + change icons + remove variation new AppGiniField("partner_id").dropdown().fix("search", "plus", true);
Result
Glyphicons
Read more about glyphicons here.
See also
Do you like it?
We can only get better if you give us constructive suggestions for improvement. Just voting "No" without giving reasons or suggestions is not helpful and cannot lead to changes.
If you have been searching for a completely different solution than the subject says, this article can not be and will not be helpful for you. In these cases you should consider not to vote.
This is website feedback, only. This voting is not a support form nor ticket system.