flex - Removing the header from a Spark DataGrid -
How can you remove the header row from the Spark DataGrid? MX Datagrid had the "Show Headers" feature but this did not seem like in Spark Datagreat.
It seems that this should be a very easy task, so either I am extremely dense or missing something? Do I have to create a custom skin for my datagrid and remove header parts? It seems that the octal or flex / spark method is there?
Thanks, Phil
for you DataGrid create a custom skin, you should just make a copy of the standard
spark.skins.spark.DataGridSkin and it removes the following lines:
& lt ;! --- @private - & gt; & Lt; s: GridColumnHeaderGroup id = "columnHeaderGroup" paddingLeft = "1" paddingTop = "1" paddingRight = "1" minHeight = "21" column separator = "{headerColumnSeparator}" headerRenderer = "{headerRenderer}" / & gt;
Comments
Post a Comment