volitan Posted February 3, 2009 Report Share Posted February 3, 2009 is there any way to number the records in the Grid. Quote Link to comment Share on other sites More sharing options...
AngelR Posted February 4, 2009 Report Share Posted February 4, 2009 For an easy way to know current items in a grid: int GridItemsCount; GridItemsCount = Grid1.Items.Count; Make sure to check for this value after the Grid is loaded with data. Quote Link to comment Share on other sites More sharing options...
volitan Posted February 4, 2009 Author Report Share Posted February 4, 2009 AngelR, Thanks for the reply. I'm sorry but my question was a bit vague. I would like to have a column on the left of my grid that numbers the records as in 1,2,3,4. Similar to MS Excel. Thanks again for the reply! Quote Link to comment Share on other sites More sharing options...
StephenP Posted February 4, 2009 Report Share Posted February 4, 2009 Hi, Just set Grid.Layout.Columnar.ItemHeader.Visible = true. That will turn on the "item header" column that shows each item's index. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.