This content has been marked as final. Show 3 replies
"marcusmattingly" <firstname.lastname@example.org> wrote in message
> Probably soudns like a crazy request, but we have a clienbt that wants to
> the first row of a DataGrid have bold font text in it while the others
> regular weight text. Any way I can do this using an itemrenderer. Can an
> itemrenderer ever know the position (collection index) of the data item it
> rendering for?
> I could probably make this work by adding a non-business related property
> my data object, but I hate to do that.
> Any help appreciated.
You could do this with a regular styleFunction in the base AdvancedDataGrid, I believe.
Note, the collections and xml APIs all have ways to determine the index of an item.