ApplicationSource

I tried to find all sorts of google searches on the headerRenderer for the Datagrid, and couldn’t find anything… so here is my two cents.

I was tasked with a simple datagrid header, one that didn’t have the default skin, but just had some link button type look to the headers…

You have to use the headerRenderer attribute of the DataGridColumn, and you can’t pass a button into it, that causes a run time error, so you have to hand it a container.

The next trick is to override set date(value:Object):void in the renderer, and invalidateProperties(), when you do that, the component will call commitProperties() and there you can access your button, wthout it being null.

Please check out the app to see the reference.

ApplicationSource