We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Row number in Reverse order

Hi, I want the row headers to come in reverse order i.e. The bottommost row should have row number 0 and then over it row 1 and so on. Please help in this regard.

1 Reply

AD Administrator Syncfusion Team December 2, 2004 09:34 AM UTC

Try handling PrepareViewStyleInfo. In your handler, if e.ColIndex is 0, set e.Style.Text to what you want to see based on the value of e.RowIndex-- maybe (grid.Model.RowCount - e.RowIndex).ToString().

Loader.
Up arrow icon