Is it possible to dynamically show row index for DataGrid rows ?
I have a static ArrayCollection which is set to be DataGrid's data provider and I would like to always have row numberi开发者_如何学Gong for each populated row (e.g. in a column called "#").
Thanks!
Yes, create a labelFunction that returns the ArrayCollction's getItemIndex for the current object, plus 1. Example
加载中,请稍侯......
精彩评论