Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20210503] 🤬 jqGrid 노가다 🤬 #115

Open
JuHyun419 opened this issue May 3, 2021 · 0 comments
Open

[20210503] 🤬 jqGrid 노가다 🤬 #115

JuHyun419 opened this issue May 3, 2021 · 0 comments

Comments

@JuHyun419
Copy link
Owner

JuHyun419 commented May 3, 2021

jqGrid

  • 🤬
// 특정 row의 id 가져오기
var ids = $("#svrinfoGridTable").jqGrid('getGridParam', "selrow");

// 특정 cell에 강제 커서(?) 지정하기
$(#jqGrid 아이디).jqGrid('setSelection', rowId);

// 특정 row, cell의 데이터 가져오기(
var customerName = $(#jqGrid 아이디).jqGrid('getCell', rowId, cellName);

// 특정 row에 배경 색상 지정하기
$(#jqGrid 아이디).setRowData(selectedId, false, {background: '#FB916A'});

// Cell 클릭했을 때 이벤트
onCellSelect : function(rowId, columnNo, cellcontent, e) {
...

// grid 완료 후 이벤트
gridComplete : function() {

// 기타
reloadGrid, getSelectedRowId, getRowData, getCellData, 등등
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant