setVisible()

//按鈕別. 0:新增按鈕 1:插入按鈕 2:刪除按鈕

getTableButton("table2",0).setVisible(false);

getTableButton("table2",2).setVisible(false);