메모장
TOAST UI Grid Pagination(Server) 본문
1) 일반
const dataSource = {
api: {
readData: {
url: url,
method: 'GET',
initParams: $('#searchForm').serializeObject()
}
}
}
let pageGrid = new tui.Grid({
data: dataSource,
});
2) 페이지 제어
const dataSource = {
api: {
readData: {
url: url,
method: 'GET'
}
},
initialRequest: false // set to true by default
}
let pageGrid = new tui.Grid({
data: dataSource,
});
pageGrid.readData(1, $('#searchForm').serializeObject());
'JavaScript' 카테고리의 다른 글
Vue jQuery 플러그인 설정 (0) | 2024.04.17 |
---|---|
Vue Store (0) | 2023.12.26 |
Vue props, emit (0) | 2023.11.21 |
TOAST UI Grid Pagination Using Callbacks (0) | 2023.09.16 |
Vue vee-validate (0) | 2023.03.14 |