Reputation: 391
Is there a way to extract the gridId from within the formatter, unformat functions on the colModel?
Thanks,
Upvotes: 0
Views: 170
Reputation: 221997
The formatter will be called with 3 parameters cellValue
, options
and rowData
and this
initialized to DOM of the grid. To get grid id you can use this.id
or options.gid
. In case of usage unformat
callback the option
contains less properties, but one can still use this.id
.
Upvotes: 1