Adding sortItemRenderer="{null}" in AdvanceDataGrid  tag fixed the
problem.:-D



RishiShahi wrote:
> 
> I want to remove sort icon from grid header , shown below
> 
>  http://old.nabble.com/file/p29449212/1.png 
> 
> It's happening due to following piece of the code. I've disabled column
> sorting on grid but icon still appears.
> 
> dataGrid.validateNow();
> var s:Sort = new Sort();
> s.fields = [new SortField("hazardnum")];
> s.compareFunction = hazardSortItems;
>                     
> dataGrid.dataProvider.sort=s;
> dataGrid.dataProvider.refresh();  
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-remove-header-icon-from-AdvanceDatagrid---tp29449212p29449213.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to