0

剣道マルチセレクト コントロールを使用しています。コントロールの Z インデックスを変更したいと考えています。これは、firebug ウィンドウからレンダリングされた html マークアップです。

<div class="k-animation-container" style="width: 383px; height: 124px; margin-left: -10px; padding-left: 10px; padding-right: 10px; padding-bottom: 15px; overflow: hidden; display: none; position: absolute; top: 237.4px; z-index: 10002; left: 275.4px; box-sizing: content-box;">    
    <div class="k-list-container k-popup k-group k-reset" id="selInvestors-list" data-role="popup" style="height: auto; display: none; font-size: 12px; font-family: Arial,Helvetica,sans-serif; font-stretch: normal; font-style: normal; font-weight: 400; line-height: 15.2px; width: 377.2px; transform: translateY(-123px); position: absolute;">        
        <ul class="k-list k-reset" unselectable="on" style="overflow: auto; height: auto;" tabindex="-1" role="listbox" aria-hidden="true" id="selInvestors_listbox" aria-live="polite">
          <li class="k-item" unselectable="on" data-idx="2" role="option" tabindex="-1">Client</li>
          <li class="k-item" unselectable="on" data-idx="3" role="option"  tabindex="-1">Employees</li>
          <li class="k-item" unselectable="on" data-idx="4" role="option" tabindex="-1">Other</li>        
    </ul>        
 </div>

Dom ready イベントの下の jquery コードは次のとおりです。

    $("#selInvestors").kendoMultiSelect({
                dataTextField: "text",
                dataValueField: "bitwiseval",
                dataSource: invJsonObj

            });

            var selinvCtl = $("#selInvestors").data("kendoMultiSelect");

            selinvCtl.bind("open", function (e) {
                //console.log("open event handler");
                e.sender.list.closest(".k-animation-container").css('z-index', '90');
            });

問題は、ドロップダウンが開くたびに、z-index 値「10002」に戻ることです。ドロップダウンが開くたびに、またはドロップダウンが開いたままになっているときに、z-index を「90」に設定したいと考えています。

ソルンを提案してください。

4

1 に答える 1