Am working on JQGrid where I am loading the ColName & ColModel Dynamically using this Example jqGrid and dynamic column binding
Everything looks good. Am using Formatter in one of the Columns for Formatter
function UrlFmatter(cellvalue, options, rowObject) {
}
When I write Columns in .JS it looked like this
colmodel :[{ name: 'somenam', formatter: UrlFmatter, width: 95, align: "center", index: 'somenam'}]
As am loading Dynamically now it is not working as the function is not called i suppose.
I thought formatter: "UrlFmatter"
it is loaded like this and making it a string. How do i make this function call ?
Or is there some better way I can handle these scenarios ?