Select to view content in your preferred language

Error - Highlight polygon when item roll over on datagrid

958
3
Jump to solution
01-17-2013 08:24 AM
by Anonymous User
Not applicable
Original User: MayMay

I try to highlight a polygon when item roll over on the datagrid and unhighlight it when item roll out.  But keep getting error message on onItemRollOut function.
I attached the modify code and message here.  Hope someone can give me so ideas.

Thank you.
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
May Jeff,

   Is the item renderer null? Your a developer right? You should be able to debug what item is null.

View solution in original post

0 Kudos
3 Replies
by Anonymous User
Not applicable
Original User: rscheitlin

May Jeff,

  What is it that is null?
0 Kudos
by Anonymous User
Not applicable
Original User: MayMay

Error message show up if I add following line to onItemRollOut function.
findGraphicByAttribute(event.itemRenderer.data.oid).symbol = resultsSymbol;

Do you know any other way try to highlight polygon on datagrid when item roll over?

Thank you.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
May Jeff,

   Is the item renderer null? Your a developer right? You should be able to debug what item is null.
0 Kudos