Page 1 of 1

Underline and element in dropdown list AppGini 22.13

Posted: 2022-05-07 19:47
by Moh Youba
Hello guys

is it possible to underlinge an element in a dropdown list
for example, I have a dropdown list with DAYS;;monday;;tuesday, I want to underline DAYS

thank you

Re: Underline and element in dropdown list AppGini 22.13

Posted: 2022-05-08 15:38
by pbottcher
Hi,

that should be possible. You may try to add this to the DV-> footer code.

Code: Select all

$j('#FIELDNAME').on('select2-open',  function () {
        $j('.select2-result-label:contains("DAYS")').html($j('.select2-result-label:contains("DAYS")').html().replace("DAYS","<u>DAYS</u>"));
    });
REPLACE FIELDNAME with your fieldname. I assumed DAYS is what you want to underline, otherwise replace that as well.

Re: Underline and element in dropdown list AppGini 22.13

Posted: 2022-05-08 19:38
by Moh Youba
Hello sir
sorry, do mean I create footer-extras-dv.js file and put inside?

thank you