[개발] 프로그램 지식
-
GetDataSetRowIndex 데이터셋의 현재 레코드 커서 인덱스를 가져옵니다. integer GetDataSetRowIndex ( [ string DataSetPath ] ) GetDataSetRowCount 데이터 개수를 가져옵니다. integer GetDataSetRowCount ( [ string DataSetPath ] ) SetText 텍스트를 설정합니다. void SetText ( string Text ) GetComponentByName 해당 이름의 컴포넌트를 가져옵니다. object GetComponentByName ( string ComponentName ) GetDataSetValue 해당 필드에 대한 데이터 값을 가져옵니다. var GetDataSetValue ( string F..
[ozReport] 오즈 스크립트 참고GetDataSetRowIndex 데이터셋의 현재 레코드 커서 인덱스를 가져옵니다. integer GetDataSetRowIndex ( [ string DataSetPath ] ) GetDataSetRowCount 데이터 개수를 가져옵니다. integer GetDataSetRowCount ( [ string DataSetPath ] ) SetText 텍스트를 설정합니다. void SetText ( string Text ) GetComponentByName 해당 이름의 컴포넌트를 가져옵니다. object GetComponentByName ( string ComponentName ) GetDataSetValue 해당 필드에 대한 데이터 값을 가져옵니다. var GetDataSetValue ( string F..
2023.02.10 -
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