1function DropoDownList_selectElement(dropdownlistId, valueToSelect) { 2 let element = document.getElementById(dropdownlistId); 3 element.value = valueToSelect; 4} 5 6function ConfigureEditDialog(gridId, title) { 7 let ejdialog = $("#" + gridId + '_dialogEdit'); 8 ejdialog.ejDialog({ title: title, showHeader: true, actionButtons: [], target: ".body-content", htmlAttributes: { class: "jumbotron" } }); 9 10 //$("#MainContent_GridAziende_dialogEdit").ejDialog({ title: "Dettaglio Azienda", showHeader: true, actionButtons: [], target: ".body-content", htmlAttributes: { class: "jumbotron" } }); 11} 12 13function GridResize(gridId, containerId) { 14 var grid = $("#" + gridId); 15 var elementcontainer = $("#" + containerId); 16 var gridHeader = grid.find(".e-gridheader"); 17 var gridPager = grid.find(".e-pager"); 18 var gridToolBar = grid.find(".e-gridtoolbar") 19 var scrollerwidth = elementcontainer.width() - 2;//Obtain the width of the container 20 var scrollerheight = (elementcontainer.height()) -1; // - ($(".e-gridheader").outerHeight()) - ($(".e-pager").outerHeight()) - ($(".e-gridtoolbar").outerHeight());//Obtain the height of the container and subtract it from gridheader and pager, toolbar 21 22 if (gridHeader.is(":visible")) { 23 scrollerheight -= (gridHeader.outerHeight()); 24 } 25 if (gridPager.is(":visible")) { 26 scrollerheight -= (gridPager.outerHeight()); 27 } 28 if (gridToolBar.is(":visible")) { 29 scrollerheight -= (gridToolBar.outerHeight()); 30 } 31 32 var ejgrid = $("#" + gridId).ejGrid("instance"); 33 ejgrid.option({ allowScrolling: true, scrollSettings: { width: scrollerwidth, height: scrollerheight } });//pass the obtainer width and height to gridmodel options 34 35} 36 37 38function PreventDblClickonClick(args) { 39 args.target.disabled = true; 40 41} 42 43 44
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.