利用 Content/Scripts/dw-framework.js 中的AddTableMenu屬性
<div class="Task" style="background-color: #E7191B" onclick="AddTabMenu('5756418a-13f7-46c2-8882-e9280c0e2e55', '/WemarineModule/Resume/Index', '簡歷管理', 'vcard.png',true)">
當傳遞參數到打開table中的時候有參數傳遞的時候記得IsReplace參數寫為true(詳情參考function AddTabMenu(tabid, url, name, img, Isclose, IsReplace, IsVisitorModule))
{ label: '學生列表', name: 'id', index: 'id', width: 80, align: "center", sortable: false, formatter: function (cellvalue, options, rowObject) { var id = rowObject['id'] return "<button onclick=\"AddTabMenu('530b9428-25d9-4166-9dc2-ea994b90cdd6', '/School/Students/StudentsList?id=" + id + "', '學生管理', 'group.png','true',true)\"> 點擊我</button>"; } },