# CustomColumnFetch event

**URL:** <https://community.thinkgeo.com/t/customcolumnfetch-event/706>\
**Category:** WinForms\
**Created:** [September 22, 2009, 9:42am UTC](https://community.thinkgeo.com/t/customcolumnfetch-event/706 "2009-09-22T09:42:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yvsdm](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/y/ccd318/32.png) [@yvsdm](https://community.thinkgeo.com/u/yvsdm)\
**Post date:** [September 22, 2009, 9:42am UTC](https://community.thinkgeo.com/t/customcolumnfetch-event/706/1 "2009-09-22T09:42:32Z")

</div>

How&nbsp;do&nbsp;I&nbsp;force&nbsp;CustomColumnFetch&nbsp;event&nbsp;to&nbsp;raise&nbsp;?

map.refresh()&nbsp;is&nbsp;not&nbsp;forcing&nbsp;it.

I&nbsp;have&nbsp;ClassBreakStyle&nbsp;applied&nbsp;on&nbsp;a&nbsp;map.&nbsp;I&nbsp;want&nbsp;to&nbsp;raise&nbsp;customColumnFetch&nbsp;manually,&nbsp;&nbsp;so&nbsp;that&nbsp;I&nbsp;can&nbsp;reset&nbsp;the&nbsp;custom&nbsp;values&nbsp;/colors&nbsp;on&nbsp;the&nbsp;map&nbsp;dynamically..

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [September 22, 2009, 8:43pm UTC](https://community.thinkgeo.com/t/customcolumnfetch-event/706/2 "2009-09-22T20:43:55Z")

</div>

Murty,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;welcome&nbsp;you&nbsp;to&nbsp;ThinkGeo&nbsp;Map&nbsp;Suite&nbsp;Desktop&nbsp;Forum!

Basically,&nbsp;when&nbsp;you&nbsp;call&nbsp;the&nbsp;map.refresh,&nbsp;this&nbsp;event&nbsp;will&nbsp;OR&nbsp;will&nbsp;not&nbsp;be&nbsp;fired,&nbsp;it&nbsp;depends&nbsp;on&nbsp;all&nbsp;the&nbsp;data&nbsp;(column&nbsp;data)&nbsp;you&nbsp;need&nbsp;have&nbsp;already&nbsp;exists&nbsp;in&nbsp;the&nbsp;target&nbsp;FeatureSouce.&nbsp;We&nbsp;provide&nbsp;a&nbsp;HowDoI&nbsp;sample&nbsp;showing&nbsp;the&nbsp;usage&nbsp;of&nbsp;this&nbsp;event.  
_HowDoIsamples\&nbsp;Feature&nbsp;Layers\&nbsp;Add&nbsp;my&nbsp;own&nbsp;custom&nbsp;data&nbsp;to&nbsp;a&nbsp;feature&nbsp;layer_  
&nbsp;  
If&nbsp;you&nbsp;want&nbsp;to&nbsp;raise&nbsp;the&nbsp;event&nbsp;manually,&nbsp;you&nbsp;can&nbsp;call&nbsp;any&nbsp;APIs&nbsp;in&nbsp;FeatureSource&nbsp;which&nbsp;need&nbsp;to&nbsp;pass&nbsp;in&nbsp;the&nbsp;returningColumnNames,&nbsp;in&nbsp;which&nbsp;you&nbsp;can&nbsp;pass&nbsp;in&nbsp;a&nbsp;columName&nbsp;which&nbsp;not&nbsp;exists&nbsp;in&nbsp;the&nbsp;FeautureSource&nbsp;like&nbsp;as&nbsp;following&nbsp;API.  
`public Collection<Feature> GetFeaturesByIds(IEnumerable<string> ids, IEnumerable<string> returningColumnNames)`  
&nbsp;  
  
If&nbsp;I&nbsp;am&nbsp;not&nbsp;clear&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale
