簡體   English   中英

Javascript - 下拉菜單不顯示所有選擇

[英]Javascript - Drop Down not showing all selections

首先,我是 JavaScript 的菜鳥。因此,在 SharePoint 使用 web 部分時,D Jobs 的下拉列表不會顯示所有可選項目。 它似乎只顯示 100 個可選擇的項目,但需要在下拉列表中顯示所有 150 個項目。 我不確定為什么。 任何幫助,將不勝感激。 這是腳本。

<script type="text/javascript"
src="https://Sharepoint/SiteAssets/jquery.js"></script>

<script type="text/javascript"
src="https://SharePoint/SiteAssets/HillbillyCascade.js"></script>   

<script type="text/javascript">
      $(document).ready(function() {
      
            var cascadeArray = new Array();
            
            cascadeArray.push({
                  parentFormField: "Shop", //Display name on form of field from
parent list
                  childList: "D Jobs", //List name of child list
                  childLookupField: "Title", //Internal field name in Child List
used in lookup
                  childFormField: "D Job", //Display name on form of the child
field
                  parentFieldInChildList: "Shop0", //Internal field name in Child
List of the parent field
                  firstOptionText: "(Filtered by Shop)", dropDownItemCount:"999"
//Number of Items to Display on dropdown to remove 100 item limitation
            });
                 
            $().HillbillyCascade(cascadeArray);

});

</script>

src="https://SahrePoint/SiteAssets/HillbillyCascade.js"></script>我看到一個錯字Sahre應該是Share

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM