http 블록으로 데이터를 조회한 다음, 개별 내역을 클릭해 모달을 띄우고, actions 처리를 하는 예제입니다.
관련해서 궁금하신 점은 댓글로 문의해주세요. 감사합니다.
menus:
- path: pages/y6MZc8-20240322
name: api viewModal
pages:
- path: pages/y6MZc8-20240322
blocks:
- type: http
name: 1
axios:
method: GET
url: https://jsonplaceholder.typicode.com/posts/{{id}}
# autoload: false
params:
- key: id
paginationOptions:
enabled: true
perPage: 10
viewModal:
useColumn: id
blocks:
- type: http
axios:
method: GET
url: https://jsonplaceholder.typicode.com/posts/{{id}}
params:
- key: id
valueFromRow: id
submitButton:
hidden: true
showDownload: false
selectOptions:
enabled: true
selectOnCheckboxOnly: true
actions:
- label: 액션1
# name: action1
type: http
axios:
forEach: true
- name: action2
hidden: true
type: http
axios:
columns:
버튼:
prepend: true
buttons:
- label: 액션2 (개별)
openAction: action2