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.
colModel のフォーマッタ、アンフォーマット関数内から gridId を抽出する方法はありますか?
ありがとう、
フォーマッタは 3 つのパラメータcellValueで呼び出され、グリッドの DOM に初期化されますoptions。グリッド ID を取得するには、またはを使用できます。コールバックを使用する場合、含まれるプロパティは少なくなりますが、引き続き を使用できます。rowDatathisthis.idoptions.gidunformatoptionthis.id
cellValue
options
rowData
this
this.id
options.gid
unformat
option