Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Row header
posted

Hello,

I wish to display the row number in the row header, any advice on how this can be accomplished?

 

Thank you 

Parents
  • 8576
    Verified Answer
    Offline posted
    Hi -
     
    By 'row header' I assume you mean the record selector.  To do this you would need to re-style the RowSelector element to provide a new Template that contains an element that displays the row number.  The element would bind to the DataContext (which contains a DataRecord) and use a converter to return a value that represents the row number.  I've attached a simple sample to show how to do this.
     
    Joe Modica
     
    DisplayRowNumbers.zip
Reply Children
No Data