Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これらのコードで列ヘッダーを設定しようとしましたが、うまくいきませんでした。私は何をすべきか理解できませんでした。
this.headerCt.setColumnHeader(2,"Surname"); grid.getColumnModel().setColumnHeader(2,"Surname");
ややこしいですが、やり方は以下の通りです。
grid.headerCt.items.items[2].setText("Surname");
2 はインデックスです。