Show Find Task results in DataGrid

Discussion created by simon.miles.rbwm on Aug 9, 2010
Latest reply on Aug 12, 2010 by DSwingley-esristaff
I'm trying to learn through playing with the esri samples, I want to change the below sample, which is concerned with the dojo.datagrid and the find.task tool.

I want to be able to change the find.task from the existing mapservice to

and find US states via the STATE_NAME field from service 2. However I�??m find this a little challenging, I think that where I�??m going wrong is around the area of the TLID part of the original code and replacing it with FID. 

Again, I�??ve also been playing around with changing the find.task to look to CITY_NAME of service 0. This is a point layer and although I have changed the code to reflect that its a point dataset (esri.symbol.SimpleMarkerSymbol), still no luck.

Any help would be great.