$("#totalTb").datagrid({
columns: [[
) ' ENTITY_START', title: 'Start time', width: 100, align: "center", halign: 'center' },
{ field: 'ENTITY_END', title: 'End time', width: 100, align: "center", halign: 'center' },
: 'ENTITY_RATE', title: 'Physical winning rate', width: 100, align: "right", halign: 'center' },
{ field: 'ENTITY_NUM', title: 'Total quantity', width: 80 , align: "right", halign: 'center' },
{ field: 'ENTITY_SEND_NUM', title: 'Quantity issued', width: 100, align: "right", halign: 'center' },
{Field: 'Entity_last_num', Title: 'The remaining quantity', width: 100, align: "right", halign: 'center'},
{
Field: 'operate', title: ' ', width: 100, align: "center", formatter: btnDetailed
(value, rowData, rowIndex) {
if (typeof rowData.ENTITY_NO == "string") {
return '';
}
}
Another: When usingto add a button, when the button is clicked, the page will refresh
Use< ;input type="button" value="Details"/> The page will not be refreshed when clicking the button
or