Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
Jan 29

Written by: Steve Gray
1/29/2010 11:39 AM  RssIcon

It took me a bit to figure out how to allow a template column to be sortable at run time. The solution was to put a datafield in the GridColumn definition. It makes sense, a template column might have several controls or fields, how would it know which one to sort on?

 

<ComponentArt:GridColumn Width="220" 
    DataCellServerTemplateId="ItemNumberTemplate" 
    AllowSorting="True" 
    DataField="itemnmbr"   
    HeadingText="Item Number"  />

Tags:
Categories:
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us