Library/DataTables

각 cell의 값을 가져와서 체크박스 disable 시키기

원2 2022. 5. 9. 11:49
728x90
반응형
columDefs: [
		{
        	targets:0,
            createdCell: function (td, cellData, rowData, row, col) {
               if (col === 0) {
                  if (rowData.serviceUseStcd !== '00102100') {
                   oTable.api().cell(row, col).checkboxes.disable();
                            }
                        }
                    },
        }
	]
728x90
반응형