var formatURL = function (url) { if (!url || url.length < 5) { return 'N/A'; } else { return '<a href="' + url + '">Link</a>'; } }; new FeatureTable({ featureLayer: fl, map: map, fieldInfos: [ {fieldName: 'url_field', format: formatURL label: 'The Website' }] }, 'tableNode' );
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.