분류 전체보기
-
white-space: nowrap;text-overflow: ellipsis; .k-grid td{ white-space: nowrap; text-overflow: ellipsis; }
[kendo ui] 셀 내용 많은 경우(overflow) 내용 생략(....) 방법 / Omit (....) method when there is a lot of cell content (overflow)white-space: nowrap;text-overflow: ellipsis; .k-grid td{ white-space: nowrap; text-overflow: ellipsis; }
2023.02.10 -
dataSource안에 pageSize: 10, grid 안에 pageable : { refresh: true, pageSizes : [ 5, 10, 20, 30, 40, 50, "all" ], buttonCount: 5 }, grid 안에 dataBound : function() { // row index(순번) var rows = this.items(); $(rows).each(function () { var index = $("#grid").data("kendoGrid").dataSource.total() - $(this).index() - ($("#grid").data("kendoGrid").dataSource.pageSize() * ($("#grid").data("kendoGrid").dataS..
[kendo ui] 페이징 관련 코드 (페이지) / Code related to paging (pages)dataSource안에 pageSize: 10, grid 안에 pageable : { refresh: true, pageSizes : [ 5, 10, 20, 30, 40, 50, "all" ], buttonCount: 5 }, grid 안에 dataBound : function() { // row index(순번) var rows = this.items(); $(rows).each(function () { var index = $("#grid").data("kendoGrid").dataSource.total() - $(this).index() - ($("#grid").data("kendoGrid").dataSource.pageSize() * ($("#grid").data("kendoGrid").dataS..
2023.02.10 -
$("#00 #00").kendoDropDownList({ dataTextField: "00_NM", dataValueField: "00_CD", value: "", dataSource: 0000.dataSource, filter: "contains", suggest: true, index:0 });
[kendo ui ] 드롭다운 검색 kendo dropdownlist search 방법 // drop down search$("#00 #00").kendoDropDownList({ dataTextField: "00_NM", dataValueField: "00_CD", value: "", dataSource: 0000.dataSource, filter: "contains", suggest: true, index:0 });
2023.02.10 -
column이랑 template열의 수가 맞지않아서 생긴 오류..!
[kendo ui] Uncaught TypeError: Cannot read properties of undefined (reading 'locked') error column이랑 template열의 수가 맞지않아서 생긴 오류..!
2023.02.10 -
$("#btnSearch2").kendoButton({ icon: "search", click: function(e) { var searchGwamok = $("#searchGwamok").val(); searchGwamok = searchGwamok.replace(/ +/g, "");//공백제거 if(searchGwamok == null || searchGwamok == '' || typeof searchGwamok == 'undefined'){ $("#gridList").data("kendoGrid").setDataSource(newDataSource); alert("검색할 입력해주세요."); }else{ $("#gridList").data("kendoGrid").setDataSource(dataSo..
[kendo ui] 처음 진입 시 조회 막기, 데이터소스 2개, newDataSource / setDataSource // Block lookup on first entry$("#btnSearch2").kendoButton({ icon: "search", click: function(e) { var searchGwamok = $("#searchGwamok").val(); searchGwamok = searchGwamok.replace(/ +/g, "");//공백제거 if(searchGwamok == null || searchGwamok == '' || typeof searchGwamok == 'undefined'){ $("#gridList").data("kendoGrid").setDataSource(newDataSource); alert("검색할 입력해주세요."); }else{ $("#gridList").data("kendoGrid").setDataSource(dataSo..
2023.02.10 -
excelExport: function(e) { var workbook = e.workbook; var sheet = workbook.sheets[0]; sheet.title = ""; // 시트명 var rows = e.workbook.sheets[0].rows; for (var ri = 0; ri < rows.length; ri++) { var row = rows[ri]; if (row.type == "header" || row.type == "group-footer" || row.type == "footer") { for (var ci = 0; ci < row.cells.length; ci++) { var cell = row.cells[ci]; cell.borderTop = { color: "bla..
[kendo ui] 헤더 세로 중앙정렬 / header vertical center alignmentexcelExport: function(e) { var workbook = e.workbook; var sheet = workbook.sheets[0]; sheet.title = ""; // 시트명 var rows = e.workbook.sheets[0].rows; for (var ri = 0; ri < rows.length; ri++) { var row = rows[ri]; if (row.type == "header" || row.type == "group-footer" || row.type == "footer") { for (var ci = 0; ci < row.cells.length; ci++) { var cell = row.cells[ci]; cell.borderTop = { color: "bla..
2023.02.10