전체 글
개발자 카이트입니다. 프로그램 관련 지식을 정리합니다.
-
var idx=parseInt(This.GetDataSetRowIndex("데이터셋명")); //_TraceLn("idx:::::::::::::::::"+idx); if ( idx == 1 ){ This.SetInvisible(true); }else{ This.SetInvisible(false); } 자바스크립트 onBind
[ozReport] 더미풋터 반복되는 경우 / If dummy footer repeatsvar idx=parseInt(This.GetDataSetRowIndex("데이터셋명")); //_TraceLn("idx:::::::::::::::::"+idx); if ( idx == 1 ){ This.SetInvisible(true); }else{ This.SetInvisible(false); } 자바스크립트 onBind
2023.02.10 -
dataBound : function() { // row index(순번) var rows = this.items(); $(rows).each(function () { var index = $("#행번호가 적용되는 그리드 이름").data("kendoGrid").dataSource.total() - $(this).index(); var rowLabel = $(this).find(".row-number"); $(rowLabel).html(index); }); } })
[kendo ui] 행번호 역순 코드dataBound : function() { // row index(순번) var rows = this.items(); $(rows).each(function () { var index = $("#행번호가 적용되는 그리드 이름").data("kendoGrid").dataSource.total() - $(this).index(); var rowLabel = $(this).find(".row-number"); $(rowLabel).html(index); }); } })
2023.02.10 -
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