I've got a situation in which I'm using a formatter: 'select'
for one of my colModels. For example:
{ key: false, name: 'Col5Id', index: 'Col5Id', editable: true, width: 140, edittype: 'select', editoptions: { value: getKeyValuePairsForDisplay('/Controller/Action', 'Id', 'Name') }, formatter: 'select' },
And this works fine but I also need to turn that value into a hyperlink (which is typically done by formatter: 'showlink'
but I can't use it because jqGrid only accepts a single formatter). The workaround from my research is to use a custom formatter and accomplish this.
From this question it seems that a custom formatter can call "multiple formatters depending upon the value of the underlying data". How would one go about doing that?
I'd appreciate any help, thanks!