操作列横向
ul.item-table-subbtn.gd-table-field-buttons {
display: flex;
flex-direction: row;
align-items: center;
justify-content: left;
flex-wrap: wrap;
}
ul.item-table-subbtn.gd-table-field-buttons li {
margin: 0 3px;
}
renderOptButton
function renderOptButton (mainTable, rows, options) {
rows.forEach((row, index) => {
for (key in options) {
if (options[key](row)) {
mainTable.showOptButton(index, key, true)
mainTable.enabledOptButton(index, key, true)
} else {
mainTable.hideOptButton(index, , true)
mainTable.disabledOptButton(index, key, true)
}
}
})
}
selfPage.renderOptButton = renderOptButton