function updateGrid(featureSet){   var data=[];   var grid = dijit.byId('grid');   dojo.forEach(featureSet, function (entry) {    data.push({     objectid:entry.attributes.objectid,     apino:entry.attributes.apino,     otherid:entry.attributes.otherid,     operator:entry.attributes.operator,     county:entry.attributes.county,     twp:entry.attributes.twp,     rge:entry.attributes.rge,     headeruri:entry.attributes.headeruri,     section_:entry.attributes.section_,     drillertotaldepth:entry.attributes.drillertotaldepth,     formationtd:entry.attributes.formationtd,     wellname:entry.attributes.wellname        });           });   var dataForGrid= {    items: data    };       var store = new dojo.data.ItemFileReadStore({data:dataForGrid});   grid.setStore(store);  }Solved! Go to Solution.
function folderFormatter(x) {   //x is the value   var link = '<a href=" + x[0] + " target="_blank">Well Folder</a>';   return link; }  function logFormatter(x) {   //x is the value   var link = '<a href=" + x[1] + " target="_blank">Well Log</a>';   return link; }  function lasFormatter(x) {   //x is the value   var link = '<a href=" + x[2] + " target="_blank">LAS Data</a>';   return link; }function linkFormatter(x) {
  //x is the value
  var link = '<a href=" + x + " target="_blank">Hyperlink</a>';
  return link;
}You need to use a formatter.
Add the formatter param:
[HTML]<th field="headeruri" width="auto" formatter="linkFormatter">Well Folder</th>[/HTML]
Formatter function:function linkFormatter(x) { //x is the value var link = '<a href=" + x + " target="_blank">Hyperlink</a>'; return link; }
I noticed you were using the same attribute (headeruri) for 3 different columns. Do you have more than one url in an array?
function folderFormatter(x) {   //x is the value   var link = '<a href=" + x[0] + " target="_blank">Well Folder</a>';   return link; }  function logFormatter(x) {   //x is the value   var link = '<a href=" + x[1] + " target="_blank">Well Log</a>';   return link; }  function lasFormatter(x) {   //x is the value   var link = '<a href=" + x[2] + " target="_blank">LAS Data</a>';   return link; }function link(x) {
  //x is array of values
  var link = '<a href=" + x[1] + " target="_blank">' + x[0] + '</a>';
  return link;
}
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		