how to hide a individual point from feature service

202
3
Jump to solution
01-11-2019 10:00 AM
MRReddy
Occasional Contributor

var evt = window.event || arguments.callee.caller.arguments[0];

tried this, but not working

//event.view.selctedfeature.visibility = "hidden";

//event.view.selctedfeature.style.visibility= "hidden";

//var xyz = new esri.Graphic(pointselected.geometry, null, pointselected.attributes);
//xyz.visible = false;

Any suggestions

Thanks

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

MR Reddy,

    The defintionExpression is expecting an SQL statement so it would be:

fhlayer.definitionExpression = "NOT FH = 'SomeStringValue'";

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor
0 Kudos
MRReddy
Occasional Contributor

Robert,

   fhlayer.definitionExpression = "FH =" + FH;

tried "=" and "!="  both are not working

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

MR Reddy,

    The defintionExpression is expecting an SQL statement so it would be:

fhlayer.definitionExpression = "NOT FH = 'SomeStringValue'";