I'm using jqgrid 3.5.3.
I want to create a custom formatter to display link so that I can set a url link “/abc.php?action=abc&id={id}&type={type}” and it will create a link to replace those {xx} with cell value. I found that I can only get cellvalue and rowid. The third parameter rowdata is actually not what it meant. I do a console.log(rowdata), it returns a string “add” but I have no clues on what it is. The only solution I found is to pass the grid id in formatoptions.
ColModel:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top