Customization of Attribute Table

5165
34
Jump to solution
02-17-2018 10:03 AM
ZdeněkSoldán
Occasional Contributor

Hello,

is it possible to customize the Attribute Table in Web AppBuilder App based on attribute of features? What I need is change color of the row if some attribute has error state.

Thanks a lot

Regards

Zdenek

34 Replies
RobertScheitlin__GISP
MVP Emeritus

OK then try.

if(object[2]==='Forrest'){
0 Kudos
ForrestBlack
New Contributor III

I tried that earlier. Unfortunately it didn't work either.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Forrest,

   Things that really should work are not working... Are you sure you have the CaSe of the attribute value set correctly is it suppose to be 'FORREST' or is Forest an coded domain description and not the actual value?

0 Kudos
ForrestBlack
New Contributor III

Robert,

After trying again this morning the below did not work.

if(object[2]==='Forrest'){

However, what you suggested earlier did work this time for some reason.

if(object['SDE.GIS.AREAS.DEVELOPER']==='Forrest'){

As for your earlier question, 'Forrest' is a value for the column 'Developer' with a esriFieldTypeString .

I don't know why it wasn't working last night, but it is working now! Thank you for your help!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Likely your browser was using the cache and you were not getting the changed code. There are a couple of ways to ensure you are not using browser cache.

  1. Hit Ctrl + F5 when the page in the browser is open.
  2. If using Chrome open an incognito page and enter the url there.